1
Fork 0

Used slambda from git & fixed tmux chords

This commit is contained in:
Matei Adriel 2023-02-19 23:52:14 +01:00
parent 0bd68f9e21
commit 95cddbc510
No known key found for this signature in database
3 changed files with 14 additions and 9 deletions

View file

@ -258,14 +258,17 @@
]
},
"locked": {
"lastModified": 1676842959,
"narHash": "sha256-GulJ8tlS1g+LSxqhTxrao6Tf2nU/cqnLb7ilCbNyznE=",
"path": "/home/adrielus/Projects/python-keyboard-fuckery",
"type": "path"
"lastModified": 1676844861,
"narHash": "sha256-mG65gA3WJjtFPKj0ZJTQ663/DT5IlefLF4XMTlNK5H0=",
"owner": "Mateiadrielrafael",
"repo": "slambda",
"rev": "3c1315ee102e7ae45e560446aa7d41b7f5063c9d",
"type": "github"
},
"original": {
"path": "/home/adrielus/Projects/python-keyboard-fuckery",
"type": "path"
"owner": "Mateiadrielrafael",
"repo": "slambda",
"type": "github"
}
},
"utils": {

View file

@ -33,7 +33,7 @@
impermanence.url = "github:nix-community/impermanence";
# Slambda
slambda.url = "path:/home/adrielus/Projects/python-keyboard-fuckery";
slambda.url = "github:Mateiadrielrafael/slambda";
slambda.inputs.nixpkgs.follows = "nixpkgs";
# Neovim nightly

View file

@ -12,7 +12,9 @@ let
(chord [ "n" "l" ] [ "leftmeta" ])
(unmap [ "leftmeta" ])
(unmap [ "leftshift" ])
(unmap [ "rightshift" ])
(unmap [ "leftctrl" ])
(unmap [ "rightctrl" ])
# }}}
# {{{ Other special keys
(chord [ "g" "h" ] [ "backspace" ])
@ -27,8 +29,8 @@ let
(unmap [ "backslash" ])
# }}}
# {{{ Tmux
(chord [ "a" "n" "k" "l" ] [ "rightshift" "a" "n" ]) # Next tab in tmux
(chord [ "a" "j" "l" ] [ "rightshift" "a" ]) # Tmux leader
(chord [ "a" "n" "k" "l" ] [ "leftctrl" "a" "n" ]) # Next tab in tmux
(chord [ "a" "j" "l" ] [ "leftctrl" "a" ]) # Tmux leader
# }}}
# {{{ WM keybinds
(chord [ "n" "l" "q" ] [ "leftmeta" "1" ])