Added tmuxinator and other tmux plugins

This commit is contained in:
2025-09-14 11:42:35 -04:00
parent 9fe6d7b62d
commit d9fd53fbc3
11 changed files with 308 additions and 31 deletions

View File

@@ -9,7 +9,7 @@
mouse = true;
newSession = true;
plugins = with pkgs; [
tmuxPlugins.cpu
# tmuxPlugins.cpu
{
plugin = tmuxPlugins.resurrect;
extraConfig = "set -g @resurrect-strategy-nvim 'session'";
@@ -26,6 +26,7 @@
tmuxPlugins.vim-tmux-focus-events
tmuxPlugins.urlview
tmuxPlugins.tmux-fzf
tmuxPlugins.sidebar
{
plugin = tmuxPlugins.tokyo-night-tmux;
extraConfig = ''
@@ -46,16 +47,23 @@
}
'';
}
# {
# plugin = tmuxPlugins.tilish;
# extraConfig = ''
# set -g @tilish-navigator 'on'
# set -g @tilish-default 'main-vertical'
# set -g @tilish-enforce 'none'
# set -g escape-time 0
# set -g @tilish-dmenu 'on'
# '';
# }
{
plugin = tmuxPlugins.pass;
extraConfig = ''
set -g @pass-key b
set -g @pass-copy-to-clipboard on
'';
}
{
plugin = tmuxPlugins.tilish;
extraConfig = ''
set -g @tilish-navigator 'on'
set -g @tilish-default 'main-vertical'
set -g @tilish-enforce 'none'
set -g escape-time 0
set -g @tilish-dmenu 'on'
'';
}
];
prefix = "C-a";
@@ -100,29 +108,19 @@
set -g escape-time 3
set-option -g status-position top
set -g default-terminal 'tmux-256color'
bind-key b choose-tree -Z "run-shell 'tmux swap-pane -s %%'"
# bind C-p display-popup -E -w 60% -h 70% 'tmuxsessions.sh'
bind C-p run-shell 'tmuxsessions.sh'
bind C-d run-shell 'dotfile-picker.sh'
bind [ run-shell 'project-picker.sh'
# bind C-c display-popup -E -w 50% -h 50% 'nvim +":cd ~/org" ~/org/refile.norg'
# bind C-c display-popup -E -w 50% -h 50% 'nvim +"VimwikiIndex"
bind C-c display-popup -E -w 60% -h 60% "pytui -n"
bind m display-popup -E -w 60% -h 60% "pytui -m"
# bind C-w display-popup -E -w 40% -h 60% "pytui -D"
bind C-o display-popup -E -w 50% -h 50% 'igrep ~/wiki/notes'
bind j run-shell 'popuptmux'
bind r source-file ~/.config/tmux/tmux.conf \; display "Reloaded!"
bind i split-window -v -c '\
#{pane_current_path}' 'emojicherrypick.py --menu fzf\
'
bind-key -n F4 run-shell 'ranger'
# bind-key -n C-e split-window -v -c '\
#{pane_current_path}' 'vifm\'
bind-key -n F4 split-window -v 'ranger $PWD'
bind-key -n C-f split-window 'ranger .'
bind F3 send-keys 'igrep .'
bind C-i split-window -v 'igrep .'
'';
};
}