diff --git a/dot/init.vim b/dot/init.vim index 58b1eeb..2a7a802 100644 --- a/dot/init.vim +++ b/dot/init.vim @@ -4,9 +4,16 @@ vnoremap a; :Tabularize /:: vnoremap a- :Tabularize /-> nnoremap :FZF +nnoremap :Rg let g:fzf_layout = { 'down': '~15%' } +" ref https://github.com/andreasvc/vim-256noir colorscheme 256_noir +set cursorline +highlight CursorLine cterm=NONE ctermfg=NONE ctermbg=233 guifg=NONE guibg=#121212 +autocmd InsertEnter * highlight CursorLine cterm=NONE ctermfg=NONE ctermbg=234 guifg=NONE guibg=#1c1c1c +autocmd InsertLeave * highlight CursorLine cterm=NONE ctermfg=NONE ctermbg=233 guifg=NONE guibg=#121212 + set background=dark let mapleader = "," @@ -19,6 +26,9 @@ noremap gc :Gcommit noremap n :bn noremap p :bp noremap c :bd +noremap b :Buffers +noremap g :Rg +noremap t :Tags " reindent whole file noremap i mzgg=G`z