From a765f285cccc70e805f7e035f9b0e500faccad90 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 27 Nov 2022 15:27:30 +0100 Subject: update vim config --- .config/nvim/coc-settings.json | 4 ++++ .config/nvim/init.vim | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) 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 imap imap -command WordQuotesToLatex :%s/‘/`/g | :%s/’/'/g +command WordQuotesToLatex + \ :%s/‘/`/ge | + \ :%s/’/'/ge | + \ :%s/“/"/ge | + \ :%s/”/"/ge " leader keybindings nnoremap :WhichKey '' -- cgit v1.2.3