formatter with range, i3 gaps decreased and vesktop

This commit is contained in:
Tiago Sousa 2024-04-02 18:51:17 +01:00
parent e21cc71441
commit 44c53d68d0
Signed by: tiago
SSH key fingerprint: SHA256:odOD9vln9U7qNe1R8o3UCbE3jkQCkr5/q5mgd5hwua0
2 changed files with 4 additions and 3 deletions

View file

@ -216,11 +216,12 @@ bindsym $mod2+Shift+k resize shrink height 10 px or 10 ppt
bindsym $mod2+Shift+l resize grow width 10 px or 10 ppt
# window settings
gaps inner 5
gaps inner 2
gaps top 32
assign [class="tidal-hifi"] 5
assign [class="discord"] 5
assign [class="vesktop"] 5
assign [class="thunderbird"] 7
# startup programs

View file

@ -205,7 +205,7 @@ return {
vim.keymap.set("n", "<leader>wss", vim.lsp.buf.workspace_symbol, bufopts)
vim.keymap.set("n", "gr", vim.lsp.buf.references, bufopts)
-- vim.keymap.set('n', '<leader>fo', function() vim.lsp.buf.format { async = true } end, bufopts)
vim.keymap.set("n", "<leader>fo", function()
vim.keymap.set({ "n", "v" }, "<leader>fo", function()
require("conform").format({ lsp_fallback = true })
end, bufopts)
vim.keymap.set("i", "<C-s>", vim.lsp.buf.signature_help, bufopts)