diff options
| author | omagdy <omar.professional8777@gmail.com> | 2025-07-26 02:33:10 +0300 |
|---|---|---|
| committer | omagdy <omar.professional8777@gmail.com> | 2025-07-26 02:33:10 +0300 |
| commit | 45bc42047321f6e51f32adb24ec5fc95333c6380 (patch) | |
| tree | 5afef8257d24453be6d3bfa31caaff4fb24cdc3f /tmux/.tmux.conf | |
| parent | f098b4cc7b9026870de461d467a22c6be704085c (diff) | |
| download | dotfiles-45bc42047321f6e51f32adb24ec5fc95333c6380.tar.xz dotfiles-45bc42047321f6e51f32adb24ec5fc95333c6380.zip | |
nvim: switched to blink.nvim + some other stuff I guess
Diffstat (limited to 'tmux/.tmux.conf')
| -rw-r--r-- | tmux/.tmux.conf | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 90908db..4f9097c 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -107,11 +107,11 @@ bind - split-window -v -c "#{pane_current_path}" # change the path for newly created windows bind c new-window -c "#{pane_current_path}" -bind C-e display-popup -E "\ - tmux list-sessions -F '#{?session_attached,,#{session_name}}' |\ - sed '/^$/d' |\ - fzf --reverse --header jump-to-session |\ - xargs tmux switch-client -t" +# bind C-e display-popup -E "\ +# tmux list-sessions -F '#{?session_attached,,#{session_name}}' |\ +# sed '/^$/d' |\ +# fzf --reverse --header jump-to-session |\ +# xargs tmux switch-client -t" # search windows in current session bind C-f display-popup -E "\ @@ -121,10 +121,23 @@ bind C-f display-popup -E "\ cut -d ' ' -f 1 |\ xargs tmux select-window -t" +bind-key C-k run-shell "sesh connect \"$( + sesh list --icons | fzf-tmux -p 55%,60% \ + --no-sort --reverse --ansi --border-label ' sesh ' --prompt '⚡ ' \ + --header ' ^a all ^t tmux ^g configs ^x zoxide ^d tmux kill ^f find' \ + --bind 'tab:down,btab:up' \ + --bind 'ctrl-a:change-prompt(⚡ )+reload(sesh list --icons)' \ + --bind 'ctrl-t:change-prompt(🪟 )+reload(sesh list -t --icons)' \ + --bind 'ctrl-g:change-prompt(⚙️ )+reload(sesh list -c --icons)' \ + --bind 'ctrl-x:change-prompt(📁 )+reload(sesh list -z --icons)' \ + --bind 'ctrl-f:change-prompt(🔎 )+reload(fd -H -d 2 -t d -E .Trash . ~)' \ + --bind 'ctrl-d:execute(tmux kill-session -t {2..})+change-prompt(⚡ )+reload(sesh list --icons)' +)\"" + # Move tmux status bar to top -bind-key C-k run-shell "tmux set-option -g status-position top;" +# bind-key C-k run-shell "tmux set-option -g status-position top;" # Move tmux status bar to bottom -bind-key C-j run-shell "tmux set-option -g status-position bottom;" +# bind-key C-j run-shell "tmux set-option -g status-position bottom;" unbind r unbind '"' |
