This commit is contained in:
Henrik Bakken
2024-05-27 01:41:51 +02:00
parent d435fa09c4
commit 39330befc7
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -102,6 +102,7 @@ bindsym $mod+z mode "resize"
bindsym $mod+g mode "$mode_gaps" bindsym $mod+g mode "$mode_gaps"
# Open specific applications in floating mode # 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="GParted"] floating enable border normal
for_window [class="Lightdm-settings"] floating enable for_window [class="Lightdm-settings"] floating enable
for_window [class="Qalculate-gtk"] floating enable sticky enable border normal for_window [class="Qalculate-gtk"] floating enable sticky enable border normal
+2 -2
View File
@@ -594,7 +594,7 @@ require("lazy").setup({
function() function()
return { return {
exe = "ruff", exe = "ruff",
args = { "check", "--fix", "-" }, args = { "check", "--select I,F,UP", "--fix", "-" },
stdin = true, stdin = true,
} }
end, end,
@@ -908,7 +908,7 @@ vim.opt.pumheight = 0
-- CURSOR -- CURSOR
-- stay visual when indenting -- stay visual when indenting
map({"n", "v"}, "-", "_", { noremap = true }) map({ "n", "v" }, "-", "_", { noremap = true })
map("v", "v", "<esc>", { noremap = true }) map("v", "v", "<esc>", { noremap = true })
map("v", "<Tab>", ">gv", { noremap = true }) map("v", "<Tab>", ">gv", { noremap = true })
map("v", "<S-Tab>", "<gv", { noremap = true }) map("v", "<S-Tab>", "<gv", { noremap = true })