Begin to examine neovim config

This commit is contained in:
2025-04-05 16:37:09 -04:00
committed by Andrew R. M.
parent 381a5b8f05
commit b2c9f720ab
18 changed files with 42 additions and 19 deletions

9
.gitmodules vendored
View File

@@ -40,3 +40,12 @@
[submodule "vim/.vim/bundle/ale"] [submodule "vim/.vim/bundle/ale"]
path = vim/.vim/bundle/ale path = vim/.vim/bundle/ale
url = https://github.com/dense-analysis/ale url = https://github.com/dense-analysis/ale
[submodule "vim/.vim/nvim-bundle/plenary"]
path = vim/.vim/nvim-bundle/plenary
url = https://github.com/nvim-lua/plenary.nvim.git
[submodule "vim/.vim/nvim-bundle/telescope"]
path = vim/.vim/nvim-bundle/telescope
url = https://github.com/nvim-telescope/telescope.nvim.git
[submodule "vim/.vim/nvim-bundle/nvim-lspconfig"]
path = vim/.vim/nvim-bundle/nvim-lspconfig
url = https://github.com/neovim/nvim-lspconfig.git

View File

@@ -1,5 +1,7 @@
#{- ~/.aliases -}# #{- ~/.aliases -}#
alias vim="nvim "
#{- FILE OPERATIONS -}# #{- FILE OPERATIONS -}#
# Allow alias expansion for commands executed with sudo # Allow alias expansion for commands executed with sudo

View File

View File

@@ -0,0 +1,9 @@
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc
" Beginner keybinds for telescope
nnoremap <leader>ff <cmd>Telescope find_files<cr>
nnoremap <leader>fg <cmd>Telescope live_grep<cr>
nnoremap <leader>fb <cmd>Telescope buffers<cr>
nnoremap <leader>fh <cmd>Telescope help_tags<cr>

View File

@@ -53,7 +53,7 @@ exe "let s:bg_white = ' ctermbg=".s:white"'"
exe "let s:fg_none = ' ctermfg=NONE'" exe "let s:fg_none = ' ctermfg=NONE'"
exe "let s:fg_default = ' ctermfg=".s:foreground"'" exe "let s:fg_default = ' ctermfg=".s:foreground"'"
exe "let s:fg_black = ' ctermfg=".s:black"'" exe "let s:fg_black = ' ctermfg=".s:black"'"
exe "let s:fg_red = ' ctermfg=".s:red"'" exe "let s:fg_red = ' ctermfg=".s:bright_red"'"
exe "let s:fg_green = ' ctermfg=".s:green"'" exe "let s:fg_green = ' ctermfg=".s:green"'"
exe "let s:fg_yellow = ' ctermfg=".s:yellow"'" exe "let s:fg_yellow = ' ctermfg=".s:yellow"'"
exe "let s:fg_blue = ' ctermfg=".s:blue"'" exe "let s:fg_blue = ' ctermfg=".s:blue"'"
@@ -135,20 +135,20 @@ exe "hi! Todo" .s:fmt_bold .s:fg_magenta.s:bg_none
" *Todo anything that needs extra attention; mostly the " *Todo anything that needs extra attention; mostly the
" keywords TODO FIXME and XXX " keywords TODO FIXME and XXX
exe "hi! StatusLine" .s:fg_dark_grey .s:bg_bright_red exe "hi! StatusLine" .s:fg_blue .s:bg_none
exe "hi! StatusLineNC" .s:fg_dark_grey .s:bg_bright_magenta exe "hi! StatusLineNC" .s:fg_blue .s:bg_none
exe "hi! LineNr" .s:fg_dark_grey .s:bg_none exe "hi! LineNr" .s:fg_dark_grey .s:bg_none
exe "hi! CursorLineNr" .s:fg_bright_magenta .s:bg_none exe "hi! CursorLineNr" .s:fg_bright_magenta .s:bg_none
exe "hi! TabLine" .s:fmt_none .s:fg_bright_red .s:bg_dark_grey exe "hi! TabLine" .s:fmt_none .s:fg_black .s:bg_blue
exe "hi! TabLineSel" .s:fmt_none .s:fg_bright_magenta .s:bg_dark_grey exe "hi! TabLineSel" .s:fmt_bold .s:fg_black .s:bg_cyan
exe "hi! TabLineFill" .s:fmt_none .s:fg_none .s:bg_dark_grey exe "hi! TabLineFill" .s:fmt_none .s:fg_none .s:bg_bright_blue
exe "hi! CursorLine" .s:fmt_none .s:bg_dark_grey exe "hi! CursorLine" .s:fmt_none .s:bg_blue
exe "hi! CursorColumn" .s:fmt_none .s:bg_dark_grey exe "hi! CursorColumn" .s:fmt_none .s:bg_blue
exe "hi! VertSplit" .s:fg_dark_grey .s:bg_dark_grey exe "hi! VertSplit" .s:fg_blue .s:bg_blue
"if &background == "light" "if &background == "light"
" highlight Normal ctermfg=0 ctermbg=15 " highlight Normal ctermfg=0 ctermbg=15