commit fa58d9a3a37a2fa97b3ccd2a9c80a991db019933
parent 6f879932ab1a53019ad06db66748345dddfb4973
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Thu, 9 Apr 2020 16:39:07 +0200
vim: no double click retmap for netrw
Former-commit-id: 5de06bbbfcf9ec77557037d2234b038ed69fc8fd
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -372,7 +372,7 @@ let g:netrw_fastbrowse = 2 " only get dir list if not s
let g:netrw_liststyle = 0 " thin listing
let g:netrw_winsize = 25 " open at 25% size
let g:netrw_keepdir = 0 " keep the current directory the same as the browsing directory.
-let g:netrw_retmap = 1 " double-click to return to browsing
+let g:netrw_retmap = 0 " double-click to return to browsing
let g:netrw_list_hide = &wildignore " hide everything in &wildignore
let g:netrw_list_hide .= ',\(^\|\s\s\)\zs\.\S\+' " as well as dotfiles
let g:netrw_special_syntax = 1 " use special syntax groups for certain files in browser
@@ -722,6 +722,8 @@ nnoremap <leader>= mlgg=G`lzz
" Tab mappings
nnoremap <C-t> :tabnew<CR>
nnoremap <C-c> :tabclose<CR>
+nnoremap <leader><left> :tabmove -1<CR>
+nnoremap <leader><right> :tabmove +1<CR>
" Window resizing mappings
nnoremap <C-k> <C-w>+