shell: use current shell in tmux
This commit is contained in:
@@ -9,8 +9,6 @@ clipboard_control write-clipboard write-primary no-append
|
|||||||
include current-theme.conf
|
include current-theme.conf
|
||||||
|
|
||||||
font_family Iosevka Nerd Font
|
font_family Iosevka Nerd Font
|
||||||
# italic_font BlexMono Nerd Font Mono
|
|
||||||
# bold_font BlexMono Nerd Font Mono
|
|
||||||
|
|
||||||
font_size 12
|
font_size 12
|
||||||
|
|
||||||
@@ -43,7 +41,7 @@ tab_title_template "{fmt.fg.red}{bell_symbol}{activity_symbol}{fmt.fg.tab}{title
|
|||||||
|
|
||||||
### Keyboard
|
### Keyboard
|
||||||
|
|
||||||
map ctrl+shift+t launch --cwd=current --type=tab
|
map ctrl+shift+t launch --cwd=current --type=tab zsh
|
||||||
|
|
||||||
map alt+shift+1 goto_tab 1
|
map alt+shift+1 goto_tab 1
|
||||||
map alt+shift+2 goto_tab 2
|
map alt+shift+2 goto_tab 2
|
||||||
|
|||||||
@@ -1,9 +1,11 @@
|
|||||||
### Terminal
|
### Terminal
|
||||||
|
|
||||||
# set default terminal
|
set-option -g default-shell "$SHELL"
|
||||||
set -g default-terminal "tmux-256color"
|
set -g default-terminal "tmux-256color"
|
||||||
|
|
||||||
# enable true color terminal
|
# enable true color terminal
|
||||||
set -ga terminal-overrides ",*256col*:Tc,alacritty:Tc"
|
set -ga terminal-overrides ",*256col*:Tc,alacritty:Tc"
|
||||||
|
|
||||||
# enable hyperlinks
|
# enable hyperlinks
|
||||||
set -as terminal-features ",*:hyperlinks"
|
set -as terminal-features ",*:hyperlinks"
|
||||||
|
|
||||||
@@ -23,7 +25,7 @@ bind-key -n M-k select-pane -U
|
|||||||
bind-key -n M-l select-pane -R
|
bind-key -n M-l select-pane -R
|
||||||
|
|
||||||
# pane zoom
|
# pane zoom
|
||||||
bind-key -n M-f resize-pane -Z
|
bind-key -n M-z resize-pane -Z
|
||||||
|
|
||||||
# window rename
|
# window rename
|
||||||
bind-key -n M-, command-prompt -p "Rename tab:" "rename-window '%%'"
|
bind-key -n M-, command-prompt -p "Rename tab:" "rename-window '%%'"
|
||||||
|
|||||||
Reference in New Issue
Block a user