fix lag with dart lsp
This commit is contained in:
parent
9297612e84
commit
8b5c66896f
7 changed files with 75 additions and 6 deletions
|
|
@ -1,6 +1,10 @@
|
|||
vim.g.mapleader = " "
|
||||
-- vim.keymap.set("n", "<leader>cd", vim.cmd.Ex)
|
||||
vim.keymap.set("n", "<leader>;", ":Dashboard<CR>", { desc = "Return to Dashboard", silent = true })
|
||||
-- Copy visual selection to system clipboard using Leader + y
|
||||
vim.keymap.set("v", "<leader>y", '"+y', { desc = "Copy to system clipboard" })
|
||||
-- Paste from system clipboard using Leader + p
|
||||
vim.keymap.set("n", "<leader>p", '"+p', { desc = "Paste from system clipboard" })
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
pattern = "netrw",
|
||||
callback = function(event)
|
||||
|
|
|
|||
|
|
@ -7,3 +7,5 @@ vim.g.loaded_netrw = 1
|
|||
vim.g.loaded_netrwPlugin = 1
|
||||
vim.opt.splitbelow = true -- Opens horizontal splits below
|
||||
vim.opt.splitright = true -- Opens vertical splits to the right
|
||||
-- Disable legacy vim bracket matching engine (fixes newline/brace layout latency)
|
||||
vim.g.loaded_matchparen = 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue