mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
tmux: move fish related settings to fish module
This commit is contained in:
parent
05b262212d
commit
32cc98c10d
3 changed files with 18 additions and 13 deletions
|
|
@ -2,12 +2,7 @@
|
|||
|
||||
{
|
||||
programs.tmux.extraConfig =
|
||||
''
|
||||
set -g default-command "${pkgs.fish}/bin/fish" # Use fish
|
||||
set -g default-shell "${pkgs.fish}/bin/fish"
|
||||
''
|
||||
|
||||
+ (builtins.readFile ./tmux.conf)
|
||||
(builtins.readFile ./tmux.conf)
|
||||
|
||||
+ (lib.optionalString pkgs.stdenv.isDarwin ''
|
||||
bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel 'pbcopy'
|
||||
|
|
|
|||
|
|
@ -85,11 +85,6 @@ unbind Up
|
|||
bind [ swap-window -d -t -1
|
||||
bind ] swap-window -d -t +1
|
||||
|
||||
# Prime says the find window is for chumps. Don't use the find window
|
||||
bind -n C-f run-shell "tmux neww fish -c tmux-sessionizer"
|
||||
bind -n C-g run-shell "fish -c tmux-home"
|
||||
bind s run-shell "fish -c tmux-last"
|
||||
|
||||
# fast kill
|
||||
bind C-k confirm-before kill-session
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue