diff options
author | Urbain Vaes <urbain@vaes.uk> | 2016-09-10 22:51:35 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2016-09-10 22:51:35 +0100 |
commit | 2d391edd4d38e024519718104962a0825478c26d (patch) | |
tree | bc26a11ff520716ebf604749016b776dbb6e0547 | |
parent | 8cd9e65747d0d7b956d0fe46708cdb64a8c265de (diff) |
[vim] Add mappings to open vifm
-rw-r--r-- | vim/.vimrc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -270,6 +270,8 @@ nnoremap cqc :cclose<cr> nnoremap got :call system('urxvt -cd '.getcwd().' &')<cr> nnoremap goT :call system('urxvt -cd '.expand("%:p:h").' &')<cr> +nnoremap gof :call system('urxvt -e vifm '.expand("%:p:h").' '.expand("%:p:h").' &')<cr> +nnoremap goF :call system('urxvt -e vifm '.expand("%:p:h").' '.expand("%:p:h").' &')<cr> nnoremap <LocalLeader>h :e %:p:s,.hpp$,.X123X,:s,.cpp$,.hpp,:s,.X123X$,.cpp,<CR> nnoremap Y y$ |