feat: use fish_vi_key_bindings

keyring
anemofilia 2023-08-07 16:55:37 -03:00
parent d4a238f01e
commit 7e032905da
2 changed files with 5 additions and 4 deletions

View File

@ -536,7 +536,7 @@ awful.keyboard.append_global_keybindings({
awful.spawn("keepassxc") end,
{description = "run keepassxc", group = "launcher"}),
awful.key({ modkey, }, "a", function ()
awful.spawn.raise_or_spawn("telegram-desktop") end,
awful.spawn("telegram-desktop") end,
{description = "run telegram-desktop", group = "launcher"}),
awful.key({ modkey, }, "r", function ()
awful.spawn.with_shell("notify-send $(rem)") end,
@ -624,7 +624,7 @@ awful.keyboard.append_global_keybindings({
awful.key({ modkey, "Control" }, "l", function ()
awful.screen.focus_relative(-1) end,
{description = "focus the previous screen", group = "screen"}),
awful.key({ modkey, "Control" }, "n", function ()
awful.key({ modkey, "Control" }, ".", function ()
local c = awful.client.restore()
-- Focus restored client
if c then
@ -840,7 +840,7 @@ client.connect_signal("request::default_keybindings", function()
awful.key({ modkey, }, "t", function (c)
c.ontop = not c.ontop end,
{description = "toggle keep on top", group = "client"}),
awful.key({ modkey, }, "n", function (c)
awful.key({ modkey, }, ".", function (c)
c.minimized = true end ,
{description = "minimize", group = "client"}),
awful.key({ modkey, }, "m", lain.util.magnify_client,

View File

@ -54,6 +54,7 @@ function fish_prompt
end
end
set -g fish_key_bindings fish_vi_key_bindings
switch "$fish_key_bindings"
case fish_vi_key_bindings fish_hybrid_key_bindings
test $fish_bind_mode = 'default' && normal ':' || normal '+'