File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed
Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change 1313 fileWidgetOptions = [
1414 "--preview '${ lib . getExe pkgs . bat } --color=always --plain --line-range=:200 {}'"
1515 ] ;
16+ tmux . enableShellIntegration = true ;
1617 changeDirWidgetCommand = "${ fd } -H --type d" ;
1718 changeDirWidgetOptions = [ "--preview '${ pkgs . tree } /bin/tree -C {} | head -200'" ] ;
1819 historyWidgetOptions = [ ] ;
Original file line number Diff line number Diff line change 1- { ...} : {
1+ {
2+ pkgs ,
3+ lib ,
4+ ...
5+ } : {
6+ home . packages = lib . optionals ( pkgs . stdenvNoCC . isDarwin ) [
7+ pkgs . reattach-to-user-namespace
8+ ] ;
29 programs . tmux = {
310 enable = true ;
11+ clock24 = true ;
12+ historyLimit = 50000 ;
13+ escapeTime = 0 ;
14+ focusEvents = true ;
15+ keyMode = "vi" ;
16+ plugins = with pkgs . tmuxPlugins ; [
17+ tmux-floax
18+ tmux-sessionx
19+ tmux-thumbs
20+ tmux-which-key
21+ sensible
22+ ] ;
23+ extraConfig =
24+ ''
25+ set -as terminal-features ",*-256color:RGB"
26+ bind g display-popup -E -xC -yC -w 80% -h 80% -d "#{pane_current_path}" ${ pkgs . lazygit } /bin/lazygit
27+ ''
28+ + lib . optionalString pkgs . stdenvNoCC . isDarwin ''
29+ set -g default-command "${ pkgs . reattach-to-user-namespace } /bin/reattach-to-user-namespace -l zsh"
30+ '' ;
431 } ;
532}
You can’t perform that action at this time.
0 commit comments