use | and \ for splits

This commit is contained in:
RingOfStorms (Joshua Bell) 2024-05-03 13:44:16 -05:00
parent 90f0a571c0
commit 0d4f4b9acb
2 changed files with 6 additions and 39 deletions

40
flake.lock generated
View file

@ -86,24 +86,6 @@
"type": "github"
}
},
"flake-utils_2": {
"inputs": {
"systems": "systems_3"
},
"locked": {
"lastModified": 1710146030,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -241,7 +223,6 @@
},
"ringofstorms-nvim": {
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": [
"nixpkgs"
],
@ -249,11 +230,11 @@
"nvim_plugin-declancm/cinnamon.nvim": "nvim_plugin-declancm/cinnamon.nvim"
},
"locked": {
"lastModified": 1714676913,
"narHash": "sha256-MSoolIKSi7NEWHBHpIHq0OrHJw8QJYsj8odWJFwcdBo=",
"lastModified": 1714711903,
"narHash": "sha256-UYToVDG7VdNPlw3AjydZhLCT8HM6FvMnA7F8NNNZBD4=",
"owner": "RingOfStorms",
"repo": "nvim",
"rev": "dcd85a95d2d98d63a9a1dd16bd5d037dcc40b8e6",
"rev": "1eb427a6dc5abae1f3319f8bab00154ac20150a0",
"type": "github"
},
"original": {
@ -326,21 +307,6 @@
"repo": "default",
"type": "github"
}
},
"systems_3": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",

View file

@ -8,8 +8,9 @@ bind -r n next-window
bind -r & kill-window
bind -r c new-window
bind ',' command-prompt "rename-window %%"
bind -r '"' split-window -v -c "#{pane_current_path}"
bind -r % split-window -h -c "#{pane_current_path}"
# Defaults are % and " which is weird and I cannot seem to remember them so using my normal | and \
bind -r "\\" split-window -v -c "#{pane_current_path}"
bind -r "|" split-window -h -c "#{pane_current_path}"
# bind "'" command-prompt -T window-target -p index { select-window it ":%%" }
bind w choose-tree -Zw
bind -r 1 select-window -t:1