From 411ea3e4dac9b35390434d6bc58815862405b7ac Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Mon, 20 Sep 2021 21:56:19 +0800 Subject: [PATCH] fix: tmux default shell --- cli/fish/config.fish | 1 + cli/tmux/tmux.conf | 2 +- cli/vim/init.vim | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cli/fish/config.fish b/cli/fish/config.fish index 51192dd..3bbc288 100644 --- a/cli/fish/config.fish +++ b/cli/fish/config.fish @@ -3,6 +3,7 @@ if status is-interactive # === default programs set -gx EDITOR vim + set -gx TMUX_SHELL (command -v fish) # === fzf configuration set -gx FZF_DEFAULT_COMMAND 'ag -g ""' diff --git a/cli/tmux/tmux.conf b/cli/tmux/tmux.conf index 1fbcd40..b681edf 100644 --- a/cli/tmux/tmux.conf +++ b/cli/tmux/tmux.conf @@ -18,7 +18,7 @@ set-option -g set-titles-string "#S / #W" ############################ setw -g mode-keys vi set -g status-keys vi -set -g default-shell $SHELL +set -g default-shell $TMUX_SHELL # set -g prefix C-h bind c new-window -c '#{pane_current_path}' bind '"' split-window -c '#{pane_current_path}' diff --git a/cli/vim/init.vim b/cli/vim/init.vim index d41b68c..22f4f7a 100644 --- a/cli/vim/init.vim +++ b/cli/vim/init.vim @@ -66,7 +66,7 @@ nnoremap h h nnoremap j j nnoremap k k nnoremap l l -nnoremap o o +nnoremap oo o nnoremap q q function! XCopy()