commit f13542c0716fb3970be9fb371745e07b7a1308f1
parent ec940a189f9aa93197cec3bc985176a5179d134f
Author: finwo <finwo@pm.me>
Date: Thu, 9 May 2019 14:07:32 +0200
Better searching and buffer closing in neovim
Diffstat:
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/neovim/home/.vimrc b/neovim/home/.vimrc
@@ -5,10 +5,13 @@
" Specify plugin directory
call plug#begin('~/.vim/plugged')
+Plug 'airblade/vim-gitgutter'
+Plug 'alvan/vim-closetag'
Plug 'editorconfig/editorconfig-vim'
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
Plug 'morhetz/gruvbox'
+Plug 'qpkorr/vim-bufkill'
Plug 'sheerun/vim-polyglot'
Plug 'tpope/vim-commentary'
Plug 'tpope/vim-fugitive'
@@ -97,9 +100,11 @@ colorscheme gruvbox " nice theme
" }}}
" Custom keybindings {{{
nnoremap <leader>c :nohlsearch<cr>
+nnoremap <leader>s :Ag<cr>
nnoremap <leader>o :Files<cr>
nnoremap <tab> :bnext<cr>
nnoremap <s-tab> :bprevious<cr>
+nnoremap <c-w> :BD<cr>
" }}}
" Airline {{{
let g:airline#extensions#tabline#enabled = 1