From dedc56a296c413335b72d650027b3a83a0fb1991 Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Tue, 8 Apr 2025 23:40:45 +0200 Subject: [PATCH] div updates --- i3/config | 1 - nvim/init.lua | 17 +++++++++-------- wezterm/wezterm.lua | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/i3/config b/i3/config index 383eec4..8072bbf 100644 --- a/i3/config +++ b/i3/config @@ -113,7 +113,6 @@ for_window [class="thunderbird"] border pixel 1 for_window [class="qutebrowser"] border pixel 1 # Open specific applications in floating mode -for_window [class="Matplotlib"] floating enable, move position center, border normal for_window [class="GParted"] floating enable border normal for_window [class="Lightdm-settings"] floating enable for_window [class="Qalculate-gtk"] floating enable sticky enable border normal diff --git a/nvim/init.lua b/nvim/init.lua index 239780c..d196283 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -95,6 +95,7 @@ vim.diagnostic.config({ max = vim.diagnostic.severity.WARN, }, }, + signs = false, virtual_lines = { current_line = true, spacing = vim.o.shiftwidth, @@ -150,10 +151,11 @@ map("i", ";", ";u") map({ "x", "n", "s" }, "ww", "w", { desc = "Save File" }) -- quit -map("n", "q", "q", { desc = "Close Window" }) -map("n", "qq", "qa", { desc = "Quit All" }) -map("n", "qw", "wq", { desc = "Write And Close Window" }) -map("n", "qwa", "wqa", { desc = "Write And Quit All" }) +map("n", "qq", "q", { desc = "Close Window" }) +map("n", "qa", "qa", { desc = "Quit All" }) +map("n", "qA", "qa!", { desc = "Quit All" }) +map("n", "wq", "wq", { desc = "Write And Close Window" }) +map("n", "wQ", "wqa", { desc = "Write And Quit All" }) --keywordprg map("n", "K", "norm! K", { desc = "Keywordprg" }) @@ -507,7 +509,7 @@ local function makespec_lualine() lualine_b = {}, lualine_c = { { "filename", path = 1, shorting_target = 0 } }, lualine_x = { - { 'require("noice").api.status.message.get()', color = { fg = "#99c794" } }, + -- { 'require("noice").api.status.message.get()', color = { fg = "#99c794" } }, -- gets too obtrusive { 'require("noice").api.status.mode.get()', color = { fg = "#65737e" } }, { 'require("noice").api.status.command.get()', color = { fg = "goldenrod" } }, }, @@ -1137,7 +1139,6 @@ local function makespec_flash() event = "VeryLazy", opts = { search = { - multi_window = true, mode = "exact", exclude = { "notify", @@ -1165,8 +1166,8 @@ local function makespec_flash() }, -- stylua: ignore keys = { - { "", mode = { "n", "o", "x" }, function() require("flash").jump() end, desc = "Flash" }, - { "", mode = { "n", "o", "x" }, function() require("flash").treesitter() end, desc = "Flash Treesitter" }, + { "s", mode = { "n", "o", "x" }, function() require("flash").jump() end, desc = "Flash" }, + { "S", mode = { "n", "o", "x" }, function() require("flash").treesitter() end, desc = "Flash Treesitter" }, { "r", mode = "o", function() require("flash").remote() end, desc = "Remote Flash" }, { "R", mode = { "o", "x" }, function() require("flash").treesitter_search() end, desc = "Treesitter Search" }, { "", mode = { "c" }, function() require("flash").toggle() end, desc = "Toggle Flash Search" }, diff --git a/wezterm/wezterm.lua b/wezterm/wezterm.lua index 4e3da36..77f58de 100644 --- a/wezterm/wezterm.lua +++ b/wezterm/wezterm.lua @@ -22,7 +22,7 @@ config.set_environment_variables = { EDITOR = "nvim" } config.keys = { -- font size - { key = "+", mods = "CTRL", action = act.IncreaseFontSize }, + { key = "+", mods = "SHIFT|CTRL", action = act.IncreaseFontSize }, { key = "-", mods = "CTRL", action = act.DecreaseFontSize }, { key = "=", mods = "SHIFT|CTRL", action = act.ResetFontSize }, -- search