nix/part/Key.nix

143 lines
2 KiB
Nix
Raw Normal View History

# Keyboard keys configuration.
2024-04-06 03:03:58 +03:00
{ ... }: {
navigation = {
go = {
down = "s";
left = "a";
right = "d";
up = "w";
next = "e";
prev = "q";
};
move = {
down = "S";
left = "A";
right = "D";
up = "W";
next = "E";
prev = "Q";
};
};
action = {
resize = {
down = "j";
left = "h";
right = "l";
up = "k";
begin = "r";
equalize = "=";
};
split = {
horizontal = "-";
vertical = "\\\\";
};
close = "x";
kill = "X";
hide = "c";
seek = "C";
wait = "z";
exit = "Z";
2024-05-03 17:21:58 +03:00
launch = "space";
2024-04-06 03:03:58 +03:00
repeat = ".";
};
nvim = {
buffer.new = "n";
leader = " ";
2024-04-06 03:03:58 +03:00
colorscheme.toggle = {
contrast = "[";
light = "]";
};
editor = {
indent.size = "<Tab>";
git.inspect = "g";
};
telescope = {
mod = "f";
all = "a";
buffer = "b";
file = "f";
grep = "g";
help = "h";
treesitter = "t";
};
text = {
comment = "/";
prompt = "p";
sort = "A";
};
window = {
filetree = "1";
trouble = "2";
todo = "3";
terminal = "4";
whichkey = "?";
};
};
tmux = {
mod = "M";
2024-04-06 03:03:58 +03:00
reload = "r";
scroll = {
down = "n";
up = "p";
};
copy = {
copy = "y";
2024-04-24 08:59:59 +03:00
paste = "V";
2024-04-06 03:03:58 +03:00
select = "v";
};
session = {
choose = "g";
next = "0";
prev = "9";
};
status = {
toggle = "f";
2024-04-06 03:03:58 +03:00
};
window = {
new = "Escape";
new_compat = "t";
};
};
sway = {
2024-05-23 16:17:33 +03:00
launch.terminal = "Escape";
mod = "Mod4";
2024-05-31 01:32:38 +03:00
bar = "r";
2024-04-06 03:03:58 +03:00
notification = {
dismiss = "shift+N";
restore = "n";
};
screenshot = {
selection = "v";
screen = "shift+V";
};
window = {
layout.toggle = "Tab";
fullscreen = "f";
2024-04-06 03:03:58 +03:00
floating = {
toggle = "shift+f";
2024-04-18 20:42:31 +03:00
cycle = "shift+r";
2024-04-06 03:03:58 +03:00
};
split = {
horizontal = "backslash";
vertical = "minus";
};
};
};
gnome = {
launch.terminal = "Escape";
mod = "<Super>";
screenshot = "v";
2024-04-06 03:03:58 +03:00
window = {
switch = "Tab";
fullscreen = "f";
};
};
2024-05-09 00:20:56 +03:00
sysctrl = "print";
2024-04-06 03:03:58 +03:00
}