mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-05-20 05:12:34 +02:00
922a412cda
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
18 lines
611 B
Nix
18 lines
611 B
Nix
{config, ...}: {
|
|
programs.qutebrowser.keyBindings = {
|
|
normal."<Ctrl-w>" = "tab-close";
|
|
normal."<Ctrl-Tab>" = "tab-next";
|
|
normal."<Ctrl-Shift-Tab>" = "tab-prev";
|
|
normal."<Ctrl-b>" = "open file://${config.xdg.dataHome}/qutebrowser/bookmarks.html";
|
|
|
|
# Ctrl+c is used to leave the current mode and return to normal mode.
|
|
insert."<Ctrl-c>" = "mode-leave";
|
|
hint."<Ctrl-c>" = "mode-leave";
|
|
caret."<Ctrl-c>" = "mode-leave";
|
|
command."<Ctrl-c>" = "mode-leave";
|
|
prompt."<Ctrl-c>" = "mode-leave";
|
|
yesno."<Ctrl-c>" = "mode-leave";
|
|
register."<Ctrl-c>" = "mode-leave";
|
|
};
|
|
}
|