summaryrefslogtreecommitdiff
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
parent69dde6e8fda7d7a2d472ee433b38ea9122c1d4d2 (diff)
Adapt configuration to alacritty
-rwxr-xr-xbin/.local/bin/tmux_attach2
-rw-r--r--vim/.vimrc8
2 files changed, 5 insertions, 5 deletions
diff --git a/bin/.local/bin/tmux_attach b/bin/.local/bin/tmux_attach
index b7e7ce9..af768ea 100755
--- a/bin/.local/bin/tmux_attach
+++ b/bin/.local/bin/tmux_attach
@@ -18,4 +18,4 @@ grep -Fxq "$SESSION" <(echo "$TMUXINATOR") \
&& COMMAND="tmuxinator start $SESSION" \
|| COMMAND="tmux new-session -A -s $SESSION"
-exec urxvt -e zsh -c "$COMMAND"
+exec alacritty -e zsh -c "$COMMAND"
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>