aboutsummaryrefslogtreecommitdiff
path: root/vim/.vim/after/ftplugin/netrw.vim
blob: 98f5d455a220c4291c9d942f44cd982d21cc30b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
" After-configs for netrw plugin
" Last Changed: 2019-01-27
" Author: Federico Igne <>
" License: This file is placed in the public domain.

" {{{ BINDINGS

" Up/Down a directory with h/l
nmap <buffer> h -
nmap <buffer> l <cr>

" Integrate with TMux-Navigator plugin
if get(g:,"loaded_tmux_navigator",0)
    nnoremap <buffer> <silent> <c-l> :TmuxNavigateRight<cr>
    nnoremap <buffer> <silent> <c-h> :TmuxNavigateLeft<cr>
endif

" }}}