summaryrefslogtreecommitdiff
path: root/vim/.vimrc
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2023-01-12 11:20:56 +0100
committerUrbain Vaes <urbain@vaes.uk>2023-01-12 11:20:56 +0100
commit3ed833b675dd9e7ce480f9c84e974baff2c3a0bc (patch)
treed9e8ad23268ac6f8d6929f947fe20cbbb2e319d5 /vim/.vimrc
parent69dde6e8fda7d7a2d472ee433b38ea9122c1d4d2 (diff)
Adapt configuration to alacritty
Diffstat (limited to 'vim/.vimrc')
-rw-r--r--vim/.vimrc8
1 files changed, 4 insertions, 4 deletions
diff --git a/vim/.vimrc b/vim/.vimrc
index 8ce6f18..b3558ff 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -311,10 +311,10 @@ nnoremap cqh :colder<cr>
nnoremap cqc :cclose<cr>
" Terminal and file manager
-nnoremap got :call system('urxvt -cd '.shellescape(getcwd()).' &')<cr>
-nnoremap goT :call system('urxvt -cd '.shellescape(expand("%:p:h")).' &')<cr>
-nnoremap gof :call system('urxvt -e vifm '.shellescape(getcwd()).' '.shellescape(getcwd()).' &')<cr>
-nnoremap goF :call system('urxvt -e vifm '.shellescape(expand("%:p:h")).' '.shellescape(expand("%:p:h")).' &')<cr>
+nnoremap goT :call system('alacritty --working-directory '.shellescape(getcwd()).' &')<cr>
+nnoremap got :call system('alacritty --working-directory '.shellescape(expand("%:p:h")).' &')<cr>
+nnoremap goF :call system('alacritty -e vifm '.shellescape(getcwd()).' '.shellescape(getcwd()).' &')<cr>
+nnoremap gof :call system('alacritty -e vifm '.shellescape(expand("%:p:h")).' '.shellescape(expand("%:p:h")).' &')<cr>
" Header files
nnoremap \h :e %:p:s,.hpp$,.X123X,:s,.cpp$,.hpp,:s,.X123X$,.cpp,<cr>