diff options
Diffstat (limited to '.config/nvim')
-rw-r--r-- | .config/nvim/general/settings.vim | 9 | ||||
-rw-r--r-- | .config/nvim/init.vim | 4 | ||||
-rw-r--r-- | .config/nvim/lua/statusline.lua | 7 | ||||
-rw-r--r-- | .config/nvim/vim-plug/plugins.vim | 7 |
4 files changed, 19 insertions, 8 deletions
diff --git a/.config/nvim/general/settings.vim b/.config/nvim/general/settings.vim index 47066ef..b348267 100644 --- a/.config/nvim/general/settings.vim +++ b/.config/nvim/general/settings.vim @@ -45,3 +45,12 @@ au CursorHold * checktime " You can't stop me cmap w!! w !sudo tee % + +" Relative line numbers +:set number relativenumber + +:augroup numbertoggle +: autocmd! +: autocmd BufEnter,FocusGained,InsertLeave * set relativenumber +: autocmd BufLeave,FocusLost,InsertEnter * set norelativenumber +:augroup END diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index bd6f82e..ed7a0b6 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -33,9 +33,9 @@ source $HOME/.config/nvim/plug-config/telescope.vim luafile $HOME/.config/nvim/lua/statusline.lua source $HOME/.config/nvim/plug-config/vim-bbye.vim source $HOME/.config/nvim/plug-config/vim-commentary.vim +source $HOME/.config/nvim/plug-config/vim-pydocstring.vim source $HOME/.config/nvim/plug-config/vimwiki.vim " Theme source $HOME/.config/nvim/themes/githubsy.vim -" source $HOME/.config/nvim/themes/spaceway.vim - +" source $HOME/.config/nvim/themes/nord.vim diff --git a/.config/nvim/lua/statusline.lua b/.config/nvim/lua/statusline.lua index 99904d9..5e88ec0 100644 --- a/.config/nvim/lua/statusline.lua +++ b/.config/nvim/lua/statusline.lua @@ -22,9 +22,9 @@ local one_dark_colors = { } local nord_colors = { - bg = "0x03050c", # "#2E3440", + bg = "#2E3440", fg = "#81A1C1", - line_bg = "0x03050c", # "#2E3440", + line_bg = "#2E3440", fg_green = "#8FBCBB", yellow = "#EBCB8B", cyan = "#A3BE8C", @@ -247,6 +247,3 @@ section.short_line_right[1] = { highlight = {nord_colors.fg,nord_colors.bg} } } - - - diff --git a/.config/nvim/vim-plug/plugins.vim b/.config/nvim/vim-plug/plugins.vim index 5e306f9..6a05ad7 100644 --- a/.config/nvim/vim-plug/plugins.vim +++ b/.config/nvim/vim-plug/plugins.vim @@ -39,7 +39,10 @@ call plug#begin('~/.config/nvim/autoload/plugged') " FZF "Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } "Plug 'junegunn/fzf.vim' - + + " Skim fuzzy finder + Plug 'lotabout/skim', { 'dir': '~/.skim', 'do': './install' } + " Rooter changes the working directory to the project root when you open a file or directory. "Plug 'airblade/vim-rooter' @@ -103,6 +106,8 @@ call plug#begin('~/.config/nvim/autoload/plugged') " Intuitive buffer closing Plug 'moll/vim-bbye' + " Pydocstring + Plug 'heavenshell/vim-pydocstring', { 'do': 'make install' } " Vim wiki for notes Plug 'vimwiki/vimwiki' |