speedie-nvim | Add new config
This commit is contained in:
parent
64f1aef2f8
commit
15485de58b
|
@ -21,6 +21,7 @@ Languages = { -- Languages to support - Used to configure highlighting
|
||||||
'php', -- For PHP
|
'php', -- For PHP
|
||||||
'lua', -- For Lua
|
'lua', -- For Lua
|
||||||
'markdown', -- For Markdown
|
'markdown', -- For Markdown
|
||||||
|
'meson', -- For meson
|
||||||
}
|
}
|
||||||
LanguageServers = { -- Language servers to use for LSP, run LspInstall <lang> to see available servers
|
LanguageServers = { -- Language servers to use for LSP, run LspInstall <lang> to see available servers
|
||||||
'html', -- For HTML
|
'html', -- For HTML
|
||||||
|
@ -29,6 +30,7 @@ LanguageServers = { -- Language servers to use for LSP, run LspInstall <lang> to
|
||||||
'phpactor', -- For PHP
|
'phpactor', -- For PHP
|
||||||
'lua_ls', -- For Lua
|
'lua_ls', -- For Lua
|
||||||
'marksman', -- For Markdown
|
'marksman', -- For Markdown
|
||||||
|
'swift_mesonls', -- For meson
|
||||||
}
|
}
|
||||||
Themes = {
|
Themes = {
|
||||||
{ 'nyoom-engineering/oxocarbon.nvim' }, -- Oxocarbon
|
{ 'nyoom-engineering/oxocarbon.nvim' }, -- Oxocarbon
|
||||||
|
@ -83,6 +85,7 @@ Plugins = { -- Plugins to use
|
||||||
{ 'rainbowhxch/accelerated-jk.nvim' }, -- Accelerated movement
|
{ 'rainbowhxch/accelerated-jk.nvim' }, -- Accelerated movement
|
||||||
{ 'NvChad/nvim-colorizer.lua' }, -- Colorize #RRGGBB text
|
{ 'NvChad/nvim-colorizer.lua' }, -- Colorize #RRGGBB text
|
||||||
{ 'RRethy/vim-illuminate' }, -- Highlight other instances of the cursor position word
|
{ 'RRethy/vim-illuminate' }, -- Highlight other instances of the cursor position word
|
||||||
|
{ 'stevearc/aerial.nvim' }, -- Object viewer
|
||||||
{ 'LunarVim/bigfile.nvim' }, -- Disable heavy features if the file is big
|
{ 'LunarVim/bigfile.nvim' }, -- Disable heavy features if the file is big
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -154,7 +157,8 @@ keymap('n', 'ZX', '<cmd>q!<cr>', defaultKeyb
|
||||||
keymap('n', 'Zz', '<cmd>w!<cr>', defaultKeybindOptions)
|
keymap('n', 'Zz', '<cmd>w!<cr>', defaultKeybindOptions)
|
||||||
keymap('n', '<C-A>', 'v/{<cr>%', defaultKeybindOptions)
|
keymap('n', '<C-A>', 'v/{<cr>%', defaultKeybindOptions)
|
||||||
keymap('n', '<C-e>', '<cmd>NvimTreeToggle<cr>', defaultKeybindOptions)
|
keymap('n', '<C-e>', '<cmd>NvimTreeToggle<cr>', defaultKeybindOptions)
|
||||||
keymap('n', '<C-b>', '<cmd>TroubleToggle<cr>', defaultKeybindOptions)
|
keymap('n', '.', '<cmd>TroubleToggle<cr>', defaultKeybindOptions)
|
||||||
|
keymap('n', ',', '<cmd>AerialToggle<cr>', defaultKeybindOptions)
|
||||||
|
|
||||||
-- Keybinds for handling tabs
|
-- Keybinds for handling tabs
|
||||||
keymap('n', '<A-,>', '<cmd>BufferLineCyclePrev<cr>', defaultKeybindOptions)
|
keymap('n', '<A-,>', '<cmd>BufferLineCyclePrev<cr>', defaultKeybindOptions)
|
||||||
|
|
6
.config/nvim/lua/aerial_config.lua
Normal file
6
.config/nvim/lua/aerial_config.lua
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
--[[
|
||||||
|
speedie's neovim configuration
|
||||||
|
-- https://git.speedie.site/speedie/speedie-nvim --
|
||||||
|
]]--
|
||||||
|
|
||||||
|
require('aerial').setup({})
|
|
@ -211,6 +211,14 @@ ins_right {
|
||||||
icon = '';
|
icon = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ins_right {
|
||||||
|
'aerial',
|
||||||
|
sep = " ) ",
|
||||||
|
depth = nil,
|
||||||
|
colored = false,
|
||||||
|
color = { fg = colors.pink, gui = 'bold' },
|
||||||
|
}
|
||||||
|
|
||||||
ins_right {
|
ins_right {
|
||||||
'branch',
|
'branch',
|
||||||
icon = '',
|
icon = '',
|
||||||
|
|
|
@ -23,5 +23,6 @@ require('accelerated_config')
|
||||||
require('git_config')
|
require('git_config')
|
||||||
require('colorizer_config')
|
require('colorizer_config')
|
||||||
require('illuminate_config')
|
require('illuminate_config')
|
||||||
|
require('aerial_config')
|
||||||
require('bigfile_config')
|
require('bigfile_config')
|
||||||
require('session_manager')
|
require('session_manager')
|
||||||
|
|
Loading…
Reference in a new issue