tmux configuration update for colors, copy and shift-enter
This commit is contained in:
parent
ce547fe18d
commit
1fccc1e05e
@ -12,9 +12,31 @@ bind C-a send-prefix -2
|
|||||||
|
|
||||||
# reload configuration
|
# reload configuration
|
||||||
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
|
bind r source-file ~/.tmux.conf \; display '~/.tmux.conf sourced'
|
||||||
set -g default-terminal "xterm-kitty"
|
set -g default-terminal "tmux-256color"
|
||||||
|
set -s extended-keys on
|
||||||
|
set -s set-clipboard on
|
||||||
|
set -as terminal-features ",xterm-kitty:RGB"
|
||||||
|
set -as terminal-features ",xterm-kitty:clipboard"
|
||||||
|
set -as terminal-features ",xterm-kitty:extkeys"
|
||||||
|
set -as terminal-features ",xterm:RGB"
|
||||||
|
set -as terminal-features ",xterm:clipboard"
|
||||||
|
set -as terminal-features ",xterm-ghostty:RGB"
|
||||||
|
set -as terminal-features ",xterm-ghostty:clipboard"
|
||||||
|
set -as terminal-features ",xterm-ghostty:extkeys"
|
||||||
|
set -as terminal-features ",xterm-256color:RGB"
|
||||||
|
set -as terminal-features ",xterm-256color:clipboard"
|
||||||
|
set -as terminal-features ",xterm-256color:extkeys"
|
||||||
|
set -as terminal-features ",screen-256color:clipboard"
|
||||||
|
set -as terminal-overrides ",xterm-256color:Ms=\\E]52;c;%p2%s\\007"
|
||||||
|
set -as terminal-overrides ",screen-256color:Ms=\\E]52;c;%p2%s\\007"
|
||||||
|
set -g allow-passthrough on
|
||||||
set-window-option -g mode-keys vi
|
set-window-option -g mode-keys vi
|
||||||
|
|
||||||
|
# Copy selections via tmux's OSC 52 clipboard support.
|
||||||
|
bind-key -T copy-mode-vi Enter send-keys -X copy-selection-and-cancel
|
||||||
|
bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel
|
||||||
|
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-selection-and-cancel
|
||||||
|
|
||||||
# Nova Config
|
# Nova Config
|
||||||
set -g @nova-nerdfonts true
|
set -g @nova-nerdfonts true
|
||||||
set -g @nova-nerdfonts-left
|
set -g @nova-nerdfonts-left
|
||||||
|
|||||||
@ -36,6 +36,7 @@ alias b "bat -p"
|
|||||||
alias l "ls -la"
|
alias l "ls -la"
|
||||||
alias lll "ls -latr"
|
alias lll "ls -latr"
|
||||||
alias lg "lazygit"
|
alias lg "lazygit"
|
||||||
|
alias claude "env -u TMUX claude"
|
||||||
|
|
||||||
# abbreviations
|
# abbreviations
|
||||||
abbr lsn littlesnitch
|
abbr lsn littlesnitch
|
||||||
@ -146,3 +147,7 @@ fish_add_path $HOME/.cache/lm-studio/bin
|
|||||||
source ~/.orbstack/shell/init.fish 2>/dev/null || :
|
source ~/.orbstack/shell/init.fish 2>/dev/null || :
|
||||||
|
|
||||||
fish_add_path $HOME/.antigravity/antigravity/bin
|
fish_add_path $HOME/.antigravity/antigravity/bin
|
||||||
|
|
||||||
|
# Added by OrbStack: command-line tools and integration
|
||||||
|
# This won't be added again if you remove it.
|
||||||
|
source ~/.orbstack/shell/init2.fish 2>/dev/null || :
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user