aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-11-27 15:27:30 +0100
committerlonkaars <loek@pipeframe.xyz>2022-11-27 15:27:30 +0100
commita765f285cccc70e805f7e035f9b0e500faccad90 (patch)
tree1c3449b7b423fa37f35d8d5570bc764d6021adb1
parent89100cfbd629646c3bddc2ad1eef50eafc0ff48c (diff)
update vim config
-rw-r--r--.config/nvim/coc-settings.json4
-rw-r--r--.config/nvim/init.vim6
2 files changed, 9 insertions, 1 deletions
diff --git a/.config/nvim/coc-settings.json b/.config/nvim/coc-settings.json
index 19f9d8b..124d711 100644
--- a/.config/nvim/coc-settings.json
+++ b/.config/nvim/coc-settings.json
@@ -29,6 +29,10 @@
"command": "sql-language-server",
"args" : ["up", "--method", "stdio"],
"filetypes": ["sql", "mysql"]
+ },
+ "vhdl": {
+ "command": "vhdl_ls",
+ "filetypes": ["v", "vhd"]
}
}
}
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index aecb5e0..f199a05 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -125,7 +125,11 @@ imap <C-j> <Down>
imap <C-k> <Up>
imap <C-l> <Right>
-command WordQuotesToLatex :%s/‘/`/g | :%s/’/'/g
+command WordQuotesToLatex
+ \ :%s/‘/`/ge |
+ \ :%s/’/'/ge |
+ \ :%s/“/"/ge |
+ \ :%s/”/"/ge
" leader keybindings
nnoremap <silent> <leader> :WhichKey '<space>'<CR>