aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-08-05 19:59:29 -0400
committertdro <tdro@users.noreply.github.com>2020-08-05 19:59:29 -0400
commit0a128164c4d4a33cf5ee8462a56259cd947a3bc3 (patch)
treecd76e0bc44ea7fc9fa62953cc9e0f006726459da /.vimrc
parent3d0401372cf59e7ad8c7627f06d7410349f7635c (diff)
downloaddotfiles-0a128164c4d4a33cf5ee8462a56259cd947a3bc3.tar.gz
dotfiles-0a128164c4d4a33cf5ee8462a56259cd947a3bc3.tar.bz2
dotfiles-0a128164c4d4a33cf5ee8462a56259cd947a3bc3.zip
.vimrc: Open terminal here
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 11414ae..d51dfc0 100644
--- a/.vimrc
+++ b/.vimrc
@@ -201,6 +201,7 @@ nmap <Leader>ob :BLines<cr>
nmap <Leader>op :History<cr>
nmap <Leader>oc :History:<cr>
nmap <Leader>ol :Locate<space>
+nmap <Leader>ot :execute '! urxvt -cd ' . expand('%:p:h') . ' &'<cr><cr>
nmap <Leader>od :call fzf#run({'options': ['--preview', 'ls {}'], 'source': "cut -d' ' -f3 $HOME/Documents/.fzf-marks", 'sink': 'cd', 'down': '20%'})<cr>:pwd<cr>
nmap <Leader>oo :call fzf#run({'options': ['--preview', 'head -20 {}'], 'source': 'rg --files --hidden \|\| find . -type f -printf "%P\n"', 'sink': 'e', 'down': '20%'})<cr>
nmap <Leader>of :call fzf#run({'options': [], 'source': "cat $HOME/Documents/.fzf-fmarks", 'sink': 'e', 'down': '20%'})<cr>:pwd<cr>