Compare commits

...

2 Commits

Author SHA1 Message Date
Dave Gallant
e2347361a2 nix flake update: 2024-08-29 01:51:01 UTC
• Updated input 'nixos-hardware':
    'github:NixOS/nixos-hardware/9fc19be21f0807d6be092d70bf0b1de0c00ac895' (2024-08-25)
  → 'github:NixOS/nixos-hardware/95c3dfe6ef2e96ddc1ccdd7194e3cda02ca9a8ef' (2024-08-28)
• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/797f7dc49e0bc7fab4b57c021cdf68f595e47841' (2024-08-22)
  → 'github:NixOS/nixpkgs/36bae45077667aff5720e5b3f1a5458f51cf0776' (2024-08-27)
• Updated input 'nixpkgs-unstable':
    'github:NixOS/nixpkgs/ae815cee91b417be55d43781eb4b73ae1ecc396c' (2024-08-23)
  → 'github:NixOS/nixpkgs/a6292e34000dc93d43bccf78338770c1c5ec8a99' (2024-08-27)
2024-08-28 21:51:01 -04:00
Dave Gallant
21cd1a8af9 Add tmux-open and vi bindings 2024-08-28 21:48:32 -04:00
2 changed files with 21 additions and 10 deletions

18
flake.lock generated
View File

@@ -391,11 +391,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1724575805, "lastModified": 1724878143,
"narHash": "sha256-OB/kEL3GAhUZmUfkbPfsPhKs0pRqJKs0EEBiLfyKZw8=", "narHash": "sha256-UjpKo92iZ25M05kgSOw/Ti6VZwpgdlOa73zHj8OcaDk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "9fc19be21f0807d6be092d70bf0b1de0c00ac895", "rev": "95c3dfe6ef2e96ddc1ccdd7194e3cda02ca9a8ef",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -406,11 +406,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1724316499, "lastModified": 1724727824,
"narHash": "sha256-Qb9MhKBUTCfWg/wqqaxt89Xfi6qTD3XpTzQ9eXi3JmE=", "narHash": "sha256-0XH9MJk54imJm+RHOLTUJ7e+ponLW00tw5ke4MTVa1Y=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "797f7dc49e0bc7fab4b57c021cdf68f595e47841", "rev": "36bae45077667aff5720e5b3f1a5458f51cf0776",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -422,11 +422,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1724395761, "lastModified": 1724748588,
"narHash": "sha256-zRkDV/nbrnp3Y8oCADf5ETl1sDrdmAW6/bBVJ8EbIdQ=", "narHash": "sha256-NlpGA4+AIf1dKNq76ps90rxowlFXUsV9x7vK/mN37JM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ae815cee91b417be55d43781eb4b73ae1ecc396c", "rev": "a6292e34000dc93d43bccf78338770c1c5ec8a99",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -270,6 +270,12 @@ in {
set -g @continuum-restore 'on' set -g @continuum-restore 'on'
''; '';
} }
{
plugin = open;
extraConfig = ''
set -g @plugin 'tmux-plugins/tmux-open'
'';
}
]; ];
extraConfig = '' extraConfig = ''
set-window-option -g automatic-rename on set-window-option -g automatic-rename on
@@ -302,7 +308,12 @@ in {
set -g status-right '#(gitmux #{pane_current_path})' set -g status-right '#(gitmux #{pane_current_path})'
unbind -T copy-mode-vi MouseDragEnd1Pane #unbind -T copy-mode-vi MouseDragEnd1Pane
set-window-option -g mode-keys vi
bind-key -T copy-mode-vi v send -X begin-selection
bind-key -T copy-mode-vi V send -X select-line
bind-key -T copy-mode-vi y send -X copy-pipe-and-cancel 'xclip -in -selection clipboard'
''; '';
}; };