From 3ed833b675dd9e7ce480f9c84e974baff2c3a0bc Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 12 Jan 2023 11:20:56 +0100 Subject: Adapt configuration to alacritty --- bin/.local/bin/tmux_attach | 2 +- vim/.vimrc | 8 ++++---- 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 nnoremap cqc :cclose " Terminal and file manager -nnoremap got :call system('urxvt -cd '.shellescape(getcwd()).' &') -nnoremap goT :call system('urxvt -cd '.shellescape(expand("%:p:h")).' &') -nnoremap gof :call system('urxvt -e vifm '.shellescape(getcwd()).' '.shellescape(getcwd()).' &') -nnoremap goF :call system('urxvt -e vifm '.shellescape(expand("%:p:h")).' '.shellescape(expand("%:p:h")).' &') +nnoremap goT :call system('alacritty --working-directory '.shellescape(getcwd()).' &') +nnoremap got :call system('alacritty --working-directory '.shellescape(expand("%:p:h")).' &') +nnoremap goF :call system('alacritty -e vifm '.shellescape(getcwd()).' '.shellescape(getcwd()).' &') +nnoremap gof :call system('alacritty -e vifm '.shellescape(expand("%:p:h")).' '.shellescape(expand("%:p:h")).' &') " Header files nnoremap \h :e %:p:s,.hpp$,.X123X,:s,.cpp$,.hpp,:s,.X123X$,.cpp, -- cgit v1.2.3