diff options
author | Urbain Vaes <urbain@vaes.uk> | 2023-01-12 11:20:56 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2023-01-12 11:20:56 +0100 |
commit | 3ed833b675dd9e7ce480f9c84e974baff2c3a0bc (patch) | |
tree | d9e8ad23268ac6f8d6929f947fe20cbbb2e319d5 | |
parent | 69dde6e8fda7d7a2d472ee433b38ea9122c1d4d2 (diff) |
Adapt configuration to alacritty
-rwxr-xr-x | bin/.local/bin/tmux_attach | 2 | ||||
-rw-r--r-- | 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" @@ -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> |