fix: tmux default shell

This commit is contained in:
Klesh Wong 2021-09-20 21:56:19 +08:00
parent 7a15fceb1b
commit 411ea3e4da
3 changed files with 3 additions and 2 deletions

View File

@ -3,6 +3,7 @@
if status is-interactive if status is-interactive
# === default programs # === default programs
set -gx EDITOR vim set -gx EDITOR vim
set -gx TMUX_SHELL (command -v fish)
# === fzf configuration # === fzf configuration
set -gx FZF_DEFAULT_COMMAND 'ag -g ""' set -gx FZF_DEFAULT_COMMAND 'ag -g ""'

View File

@ -18,7 +18,7 @@ set-option -g set-titles-string "#S / #W"
############################ ############################
setw -g mode-keys vi setw -g mode-keys vi
set -g status-keys vi set -g status-keys vi
set -g default-shell $SHELL set -g default-shell $TMUX_SHELL
# set -g prefix C-h # set -g prefix C-h
bind c new-window -c '#{pane_current_path}' bind c new-window -c '#{pane_current_path}'
bind '"' split-window -c '#{pane_current_path}' bind '"' split-window -c '#{pane_current_path}'

View File

@ -66,7 +66,7 @@ nnoremap <leader>h <C-w>h
nnoremap <leader>j <C-w>j nnoremap <leader>j <C-w>j
nnoremap <leader>k <C-w>k nnoremap <leader>k <C-w>k
nnoremap <leader>l <C-w>l nnoremap <leader>l <C-w>l
nnoremap <leader>o <C-w>o nnoremap <leader>oo <C-w>o
nnoremap <leader>q <C-w>q nnoremap <leader>q <C-w>q
function! XCopy() function! XCopy()