diff --git a/lua/custom/configs/remaps.lua b/lua/custom/configs/remaps.lua index 76513428..e03e2958 100644 --- a/lua/custom/configs/remaps.lua +++ b/lua/custom/configs/remaps.lua @@ -16,6 +16,7 @@ vim.keymap.set("n", "N", "Nzzzv") -- greatest remap ever -- paste without adding deleted text to buffer vim.keymap.set("x", "p", [["_dP]]) +vim.keymap.set("x", "d", [["_d]]) -- next greatest remap ever : asbjornHaland -- yank/delete into system clipboard @@ -35,4 +36,4 @@ vim.keymap.set("n", "j", "lprevzz") -- find/replace word you're on vim.keymap.set("n", "s", [[:%s/\<\>//gI]]) -- make script executable -vim.keymap.set("n", "x", "!chmod +x %", { silent = true }) +vim.keymap.set("n", "+", "!chmod +x %", { silent = true }) diff --git a/lua/custom/plugins/autoformat.lua b/lua/custom/plugins/autoformat.lua index c2f972d5..614777bd 100644 --- a/lua/custom/plugins/autoformat.lua +++ b/lua/custom/plugins/autoformat.lua @@ -35,6 +35,8 @@ return { group = vim.api.nvim_create_augroup('kickstart-lsp-attach-format', { clear = true }), -- This is where we attach the autoformatting for reasonable clients callback = function(args) + -- dont reformat anything + if true then return end local client_id = args.data.client_id local client = vim.lsp.get_client_by_id(client_id) local bufnr = args.buf @@ -46,7 +48,7 @@ return { -- Tsserver usually works poorly. Sorry you work with bad languages -- You can remove this line if you know what you're doing :) - if client.name == 'tsserver' or client.name == 'jsonls' then + if client.name == 'tsserver' or client.name == 'jsonls' or client.name == 'html' then return end diff --git a/lua/custom/plugins/tmux-nvim.lua b/lua/custom/plugins/tmux-nvim.lua new file mode 100644 index 00000000..9a723a5a --- /dev/null +++ b/lua/custom/plugins/tmux-nvim.lua @@ -0,0 +1,6 @@ +return { + { + "christoomey/vim-tmux-navigator", + lazy = false, + }, +}