tmux: add config
This commit is contained in:
parent
72bca27bf7
commit
0326268087
@ -4,6 +4,8 @@ end
|
||||
|
||||
source ~/.config/fish/aliases.fish
|
||||
|
||||
source ~/.config/fish/functions/tmux_prompt.fish
|
||||
|
||||
# Set GPG_TTY
|
||||
gpgt
|
||||
|
||||
|
12
src/.config/fish/functions/tmux_prompt.fish
Normal file
12
src/.config/fish/functions/tmux_prompt.fish
Normal file
@ -0,0 +1,12 @@
|
||||
if set -q TMUX
|
||||
|
||||
# python venv style prompt replacement
|
||||
functions -c fish_prompt _old_fish_prompt
|
||||
|
||||
function fish_prompt
|
||||
printf "%s%s%s" (set_color 809C80) "(tmux) " (set_color normal)
|
||||
_old_fish_prompt
|
||||
end
|
||||
|
||||
printf "aawagga"
|
||||
end
|
17
src/.config/tmux/tmux.conf
Normal file
17
src/.config/tmux/tmux.conf
Normal file
@ -0,0 +1,17 @@
|
||||
unbind C-b
|
||||
set-option -g prefix C-a
|
||||
bind-key C-a send-prefix
|
||||
|
||||
bind u split-window -h
|
||||
bind i split-window -v
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
bind h select-pane -L
|
||||
bind l select-pane -R
|
||||
bind j select-pane -D
|
||||
bind k select-pane -U
|
||||
|
||||
set -g status off
|
||||
|
||||
set escape-time 20
|
Loading…
Reference in New Issue
Block a user