Add session managment to tmux and neovim
This commit is contained in:
parent
58f515d9d0
commit
5898f6b5a6
7 changed files with 69 additions and 60 deletions
|
|
@ -23,7 +23,7 @@ set -g prefix C-Space
|
|||
|
||||
# Reload Config
|
||||
unbind R
|
||||
bind R source-file ~/.tmux.conf \; display "Reloaded ~/.tmux.conf"
|
||||
bind R source-file ~/.config/tmux/tmux.conf \; display "Reloaded ~/.config/tmux/tmux.conf"
|
||||
|
||||
# Copy Mode
|
||||
unbind [
|
||||
|
|
@ -71,8 +71,8 @@ bind l next-window
|
|||
if "test ! -d ~/.config/tmux/plugins/tpm" \
|
||||
"run 'git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm && ~/.config/tmux/plugins/tpm/bin/install_plugins'"
|
||||
|
||||
set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.config/tmux/plugins/tpm'
|
||||
run -b '~/.config/tmux/plugins/tpm/tpm'
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
|
||||
set -g @plugin 'catppuccin/tmux'
|
||||
# set -g @plugin 'rwxd/catppuccin-tmux'
|
||||
|
|
@ -82,8 +82,8 @@ set -g @plugin 'laktak/extrakto'
|
|||
set -g @plugin 'christoomey/vim-tmux-navigator'
|
||||
set -g @plugin 'sainnhe/tmux-fzf'
|
||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||
set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||
|
||||
set -g @plugin 'tmux-plugins/tpm'
|
||||
|
||||
## Plugin Config
|
||||
set -g @catppuccin_flavour 'macchiato'
|
||||
|
|
@ -94,10 +94,12 @@ set -g @catppuccin_status_right_separator ""
|
|||
set -g @catppuccin_status_right_separator_inverse "no"
|
||||
set -g @catppuccin_status_fill "icon"
|
||||
set -g @catppuccin_status_connect_separator "no"
|
||||
set -g @continuum-restore 'on'
|
||||
set -g @resurrect-processes 'vi vim nvim man "~pnpm dev->pnpm dev *"'
|
||||
|
||||
TMUX_FZF_LAUNCH_KEY="w"
|
||||
TMUX_FZF_OPTIONS="-p -w 80% -h 60% -m"
|
||||
|
||||
# Tmux Managment
|
||||
bind-key "f" run-shell -b "$HOME/.tmux/plugins/tmux-fzf/scripts/session.sh switch"
|
||||
bind-key "F" run-shell -b "$HOME/.tmux/plugins/tmux-fzf/scripts/window.sh switch"
|
||||
bind-key "f" run-shell -b "$HOME/.config/tmux/plugins/tmux-fzf/scripts/session.sh switch"
|
||||
bind-key "F" run-shell -b "$HOME/.config/tmux/plugins/tmux-fzf/scripts/window.sh switch"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue