diff --git a/cli/vim/neovim/init.lua b/cli/vim/neovim/init.lua index 681da0b..db7edd2 100644 --- a/cli/vim/neovim/init.lua +++ b/cli/vim/neovim/init.lua @@ -18,8 +18,12 @@ vim.o.colorcolumn = 120 vim.o.scrolloff = 8 --vim.o.clipboard = "unnamedplus" vim.o.expandtab = true +vim.o.tabstop = 4 +vim.o.shiftwidth = 4 vim.o.list = true vim.o.mouse = "a" +vim.o.ignorecase = true +vim.o.smartcase = true -- window options vim.wo.number = true diff --git a/gui/awesome/rc.lua b/gui/awesome/rc.lua index b117bcf..ae1ef5a 100644 --- a/gui/awesome/rc.lua +++ b/gui/awesome/rc.lua @@ -426,8 +426,17 @@ globalkeys = gears.table.join( {description = "view previous", group = "tag"}), awful.key({ modkey, }, "period", awful.tag.viewnext, {description = "view next", group = "tag"}), - awful.key({ modkey, }, "Escape", awful.tag.history.restore, - {description = "go back", group = "tag"}), + -- awful.key({ modkey, }, "Escape", awful.tag.history.restore, + -- {description = "go back", group = "tag"}), + + awful.key({ modkey, }, "Escape", + function () + cw.toggle(false) + volume_widget:toggle(false) + logout_menu_widget:toggle(false) + end, + {description = "close all widget", group = "control"} + ), awful.key({ modkey, }, "j", function ()