diff options
author | Urbain Vaes <urbain@vaes.uk> | 2017-11-15 15:22:19 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2017-11-15 22:12:11 +0100 |
commit | a2cdbf8571ba6c542a0ca45e8adad206e970b05b (patch) | |
tree | e3a9f1bfd91dc9dede3b84050e7104afbffeb209 /vim/.vimrc | |
parent | 650540a998831ac7de9622c5d0d9ec3ef0930ec3 (diff) |
Make minor changes
Diffstat (limited to 'vim/.vimrc')
-rw-r--r-- | vim/.vimrc | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -46,6 +46,7 @@ Plug 'sjl/Gundo.vim', { 'on' : 'GundoToggle' } Plug 'terryma/vim-expand-region' Plug 'terryma/vim-multiple-cursors' Plug 'tommcdo/vim-exchange' +Plug 'ton/vim-bufsurf' Plug 'tpope/vim-abolish' Plug 'tpope/vim-commentary' Plug 'tpope/vim-dispatch' @@ -334,10 +335,15 @@ cnoremap <c-n> <down> cnoremap <up> <c-p> cnoremap <down> <c-n> +nmap <silent> <b :BufSurfBack<cr> +nmap <silent> <B :BufSurfBack<cr>:bd! #<cr> +nmap <silent> >b :BufSurfForward<cr> +nmap <silent> <B :BufSurfForward<cr>:bd! #<cr> + if has("nvim") nnoremap goh :lcd %:h \| terminal<cr> tnoremap <c-d> <c-\><c-n><c-^>:bd! #<cr> - nnoremap <c-_> <c-^><cr>i + nnoremap <c-_> :b # \| norm A<cr> tnoremap <c-_> <c-\><c-n><c-^> endif |