diff --git a/tmux.conf b/tmux.conf index 43c050b..7c613f9 100644 --- a/tmux.conf +++ b/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'