mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
update tmux.conf
This commit is contained in:
parent
d27e26379d
commit
7c3d903423
1 changed files with 7 additions and 13 deletions
20
tmux.conf
20
tmux.conf
|
|
@ -28,12 +28,6 @@ setw -g window-status-current-style 'fg=#0E1019 bg=color4 bold'
|
|||
setw -g window-status-current-format ' #I #W '
|
||||
setw -g window-status-separator ''
|
||||
|
||||
# tmux fzf plugin
|
||||
TMUX_FZF_OPTIONS="-p -w 40% -h 40% --border=sharp --separator='─' --margin=0 --layout=reverse"
|
||||
TMUX_FZF_PREVIEW=0
|
||||
TMUX_FZF_SWITCH_CURRENT=1
|
||||
|
||||
|
||||
# Keybinds
|
||||
|
||||
# remap prefix
|
||||
|
|
@ -41,11 +35,11 @@ unbind C-b
|
|||
set -g prefix C-a
|
||||
bind C-a send-prefix
|
||||
|
||||
bind-key "e" run-shell "tmux neww ~/bin/tmuxs"
|
||||
bind-key "n" run-shell -b "~/.config/tmux-plugins/tmux-fzf/scripts/session.sh new"
|
||||
bind-key "w" run-shell -b "~/.config/tmux-plugins/tmux-fzf/scripts/session.sh switch"
|
||||
bind r source-file ~/.tmux.conf\; display-message '~/.tmux.conf reloaded'
|
||||
|
||||
# Go to last window.
|
||||
bind Space last-window
|
||||
|
||||
bind-key "e" run-shell -b "~/bin/tmuxs"
|
||||
bind-key "w" run-shell -b "~/bin/tmuxs -a"
|
||||
|
||||
# Plugins
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
set -g @plugin 'sainnhe/tmux-fzf'
|
||||
run '~/.config/tmux-plugins/tpm/tpm'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue