]> git.armaanb.net Git - dotfiles.git/commitdiff
nvim: add comments
authorArmaan Bhojwani <me@armaanb.net>
Sun, 21 Nov 2021 15:21:19 +0000 (10:21 -0500)
committerArmaan Bhojwani <me@armaanb.net>
Sun, 21 Nov 2021 15:21:19 +0000 (10:21 -0500)
.config/nvim/init.vim

index 718707f418a0cd476034140fe79e4f8e274751c8..602038e28ffa58f6544d644943c6e4110e6d9f63 100644 (file)
@@ -1,8 +1,10 @@
+" General settings
 set mouse=a
 set undofile
 set textwidth=80
 map Q <nop>
 
+" Plugins
 call plug#begin()
 Plug 'ap/vim-css-color'              " Highlight css colors
 Plug 'ctrlpvim/ctrlp.vim'            " Fuzzy file finding
@@ -16,12 +18,15 @@ Plug 'tpope/vim-speeddating'         " Modify dates with C-a, C-x
 Plug 'tpope/vim-surround'            " Easily modify sorrounding characters
 call plug#end()
 
+" Colorscheme
 set termguicolors
 colorscheme hima
 
+" Easier split movement
 nnoremap <C-j> <C-w><C-j>
 nnoremap <C-k> <C-w><C-k>
 nnoremap <C-l> <C-w><C-l>
 nnoremap <C-h> <C-w><C-h>
 
+" Clear search highlighting
 nnoremap <C-c> :noh<CR>