summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-09-10 22:51:35 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-09-10 22:51:35 +0100
commit2d391edd4d38e024519718104962a0825478c26d (patch)
treebc26a11ff520716ebf604749016b776dbb6e0547 /vim
parent8cd9e65747d0d7b956d0fe46708cdb64a8c265de (diff)
[vim] Add mappings to open vifm
Diffstat (limited to 'vim')
-rw-r--r--vim/.vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 25a5cbe..4c937ff 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -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$