File tree Expand file tree Collapse file tree 3 files changed +45
-1
lines changed
Expand file tree Collapse file tree 3 files changed +45
-1
lines changed Original file line number Diff line number Diff line change 3333
3434 programs . tmux = {
3535 enable = true ;
36- historyLimit = 1000000 ;
36+ historyLimit = 10000000 ;
3737 extraConfig = builtins . readFile ../tmux.conf ;
3838 plugins = with pkgs ; [
3939 {
4040 plugin = tmuxPlugins . gruvbox ;
4141 extraConfig = "set -g @tmux-gruvbox 'dark'" ;
4242 }
43+ {
44+ plugin = tmuxPlugins . search-panes ;
45+ extraConfig = "set -g @open_search_panes_key 'g'" ;
46+ }
4347 ] ;
4448 } ;
4549
Original file line number Diff line number Diff line change 610610 plugin = tmuxPlugins . gruvbox ;
611611 extraConfig = "set -g @tmux-gruvbox 'dark'" ;
612612 }
613+ {
614+ plugin = tmuxPlugins . search-panes ;
615+ extraConfig = "set -g @open_search_panes_key 'g'" ;
616+ }
613617 # {
614618 # plugin = tmuxPlugins.tmux-ressurect;
615619 #
Original file line number Diff line number Diff line change 11# Individual package overrides and custom packages
22final : prev : {
3+ tmuxPlugins = prev . tmuxPlugins // {
4+ search-panes = prev . tmuxPlugins . mkTmuxPlugin {
5+ pluginName = "search-panes" ;
6+ version = "0-unstable-2025-04-22" ;
7+ src = final . fetchFromGitHub {
8+ owner = "multi-io" ;
9+ repo = "tmux-search-panes" ;
10+ rev = "3996b5c56c6be69d3a85ef26065b1877d9ac71c6" ;
11+ hash = "sha256-Z9Gu4v2LAyG6UxXVLTvQUz1wU4PaJlBQXjLiSzfSP7s=" ;
12+ } ;
13+ rtpFilePath = "tmux-search-panes.tmux" ;
14+ nativeBuildInputs = [ final . makeWrapper ] ;
15+ postInstall = ''
16+ for f in search-panes.sh _fzf-and-switch.sh _render-preview.sh; do
17+ chmod +x $target/bin/$f
18+ wrapProgram $target/bin/$f \
19+ --prefix PATH : ${
20+ final . lib . makeBinPath [
21+ final . coreutils
22+ final . fzf
23+ final . gnugrep
24+ final . gnused
25+ final . tmux
26+ ]
27+ }
28+ done
29+ '' ;
30+ meta = {
31+ homepage = "https://github.com/multi-io/tmux-search-panes" ;
32+ description = "Tmux plugin for fulltext search across all panes" ;
33+ license = final . lib . licenses . mit ;
34+ platforms = final . lib . platforms . unix ;
35+ maintainers = [ final . lib . maintainers . DieracDelta ] ;
36+ } ;
37+ } ;
38+ } ;
339 prometheus-node-exporter = prev . prometheus-node-exporter . overrideAttrs ( oldAttrs : {
440 src = prev . fetchFromGitHub {
541 owner = "prometheus" ;
You can’t perform that action at this time.
0 commit comments