Updated nvim

This commit is contained in:
2023-09-07 14:08:10 +02:00
parent dfe88eaa65
commit 28046269ed
3 changed files with 25 additions and 13 deletions

View File

@ -12,6 +12,7 @@ map("n", "<C-q>", "<cmd>bd<cr>", "Delete buffer")
map("n", "<C-n>", "<cmd>enew<cr>", "New File")
map("n", "<C-l>", "^Da", "Rewrite line")
map("i", "<C-l>", "<esc>^Da", "Rewrite line")
map("n", "<C-a>", "ggVG", "Select all")
map("n", "<C-r>", ":%s/<C-R><C-W>//g<Left><Left>", "Replace word under cursor")
map({ "n", "v" }, "<C-b>", "^", "Beginning of line")
map("i", "<C-b>", "<esc>^i", "Beginning of line")

View File

@ -6,6 +6,17 @@ return {
},
opts = {
servers = {
denols = {
filetypes = {
"javascript",
"typescript",
"markdown",
"json",
},
init_options = {
lint = true,
},
},
gopls = {},
lua_ls = {
settings = {