fix lag and add buffer management
This commit is contained in:
parent
9f86c36b7e
commit
e045491ec1
8 changed files with 121 additions and 24 deletions
|
|
@ -7,6 +7,8 @@ vim.keymap.set("v", "<leader>y", '"+y', { desc = "Copy to system clipboard" })
|
|||
vim.keymap.set({ "n", "v" }, "<leader>p", '"+p', { desc = "Paste from system clipboard after" })
|
||||
-- Paste from system clipboard BEFORE the cursor (Normal & Visual mode)
|
||||
vim.keymap.set({ "n", "v" }, "<leader>P", '"+P', { desc = "Paste from system clipboard before" })
|
||||
-- Native LSP restart keymap (No plugins or custom functions required!)
|
||||
vim.keymap.set("n", "<leader>lx", "<cmd>lsp restart<CR>", { desc = "Restart LSP Server" })
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "netrw",
|
||||
callback = function(event)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue