From 92016761f5a9a71aabdc468fc68b2454231db644 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 13 Nov 2020 10:10:51 +0100 Subject: [PATCH] tmux: Change fzf session switcher hotkey Changed key to switch sessions from `` to ``, mimicking the normal `s` tmux session switcher. --- README.md | 13 ++++++------- tmux/.config/tmux/tmux.conf | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3af5508..65d13aa 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ * [x] academic workflow tools, to allow quick citation, pdf compilation, and preview * [x] simple, efficient polybar with package update notification, and spotify (mpris) integration * [x] tmux session management through `tm` and `tl` tools -* [x] tmux fuzzy-searching of terminal sessions to switch to with hot-key (``) +* [x] tmux fuzzy-searching of terminal sessions to switch to with hot-key (``) in addition to normal session switching * [x] system-wide color management (terminals, vim, qutebrowser, polybar, xresources) through `styler` command using [base16](http://chriskempson.com/projects/base16/) themes * [x] quick theme switching by activating `styler` and fuzzy-searching themes with hot-key (`+F8`) * [x] many vim color-schemes with quick light/dark switching (`F8`) and individual theme switch (`+F8`) @@ -40,14 +40,13 @@ Enjoy! ## Main Modules * [`alacritty`](https://github.com/jwilm/alacritty) - Terminal emulator (GPU accelerated and customizable) -* [`git`](git/README.md) - distributed version control system. -* [`gopass`](https://github.com/gopasspw/gopass) - Password management suite, building on (and largely compatible with) -`pass` for unix * [`i3`](https://i3wm.org/) - Tiling window manager -* [`nvim`](https://neovim.io/) - Neovim configuration -* [`pandoc`](https://pandoc.org) - Pandoc plaintext transformation options (mostly latex templates) -* [`picom`](https://github.com/yshui/picom) - X11 compositor (maintained fork from compton) * [`polybar`](polybar/README.md) - Easy to customize statusbar +* [`picom`](https://github.com/yshui/picom) - X11 compositor (maintained fork from compton) +* [`git`](git/README.md) - distributed version control system. +* [`pass`](pass/README.md) - Password management suite +* [`nvim`](https://neovim.io/) - Neovim configuration +* [`bibtex`](bibtex/README.md) - LateX/BibteX/pandoc plaintext writing & reference suite * [`qutebrowser`](https://github.com/qutebrowser/qutebrowser) - vim-key enabled web browser * [`rofi`](https://github.com/davatorium/rofi) - Application launcher, dmenu replacement * [`sxhkd`](sxhkd/README.md) - X11 hotkey manager diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index 2e1221f..4942935 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -107,7 +107,7 @@ bind-key '\' split-window -h -c '#{pane_current_path}' bind-key '-' split-window -v -c '#{pane_current_path}' # Open a sessions chooser -bind C-j split-window -v "tmux list-sessions | sed -E 's/:.*$//' | grep -v \"^$(tmux display-message -p '#S')\$\" | fzf --reverse | xargs tmux switch-client -t" +bind C-s split-window -v "tmux list-sessions | sed -E 's/:.*$//' | grep -v \"^$(tmux display-message -p '#S')\$\" | fzf --reverse | xargs tmux switch-client -t" ##################### ## 4. THEME ##