speedie-nvim | Add new config

This commit is contained in:
Jacob 2024-01-21 22:41:37 +01:00
parent 64f1aef2f8
commit 15485de58b
4 changed files with 20 additions and 1 deletions

View file

@ -21,6 +21,7 @@ Languages = { -- Languages to support - Used to configure highlighting
'php', -- For PHP
'lua', -- For Lua
'markdown', -- For Markdown
'meson', -- For meson
}
LanguageServers = { -- Language servers to use for LSP, run LspInstall <lang> to see available servers
'html', -- For HTML
@ -29,6 +30,7 @@ LanguageServers = { -- Language servers to use for LSP, run LspInstall <lang> to
'phpactor', -- For PHP
'lua_ls', -- For Lua
'marksman', -- For Markdown
'swift_mesonls', -- For meson
}
Themes = {
{ 'nyoom-engineering/oxocarbon.nvim' }, -- Oxocarbon
@ -83,6 +85,7 @@ Plugins = { -- Plugins to use
{ 'rainbowhxch/accelerated-jk.nvim' }, -- Accelerated movement
{ 'NvChad/nvim-colorizer.lua' }, -- Colorize #RRGGBB text
{ '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
}
@ -154,7 +157,8 @@ keymap('n', 'ZX', '<cmd>q!<cr>', defaultKeyb
keymap('n', 'Zz', '<cmd>w!<cr>', defaultKeybindOptions)
keymap('n', '<C-A>', 'v/{<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
keymap('n', '<A-,>', '<cmd>BufferLineCyclePrev<cr>', defaultKeybindOptions)

View file

@ -0,0 +1,6 @@
--[[
speedie's neovim configuration
-- https://git.speedie.site/speedie/speedie-nvim --
]]--
require('aerial').setup({})

View file

@ -211,6 +211,14 @@ ins_right {
icon = '󰉢';
}
ins_right {
'aerial',
sep = " ) ",
depth = nil,
colored = false,
color = { fg = colors.pink, gui = 'bold' },
}
ins_right {
'branch',
icon = '',

View file

@ -23,5 +23,6 @@ require('accelerated_config')
require('git_config')
require('colorizer_config')
require('illuminate_config')
require('aerial_config')
require('bigfile_config')
require('session_manager')