From 4d77b7e3165196342f7a6cc83eb549b63735ff5b Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Tue, 26 Dec 2023 23:48:55 +0800 Subject: Add neovim config --- .vim/after/plugin/nvim-cscope.vim | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .vim/after/plugin/nvim-cscope.vim (limited to '.vim/after/plugin/nvim-cscope.vim') diff --git a/.vim/after/plugin/nvim-cscope.vim b/.vim/after/plugin/nvim-cscope.vim new file mode 100644 index 0000000..c463800 --- /dev/null +++ b/.vim/after/plugin/nvim-cscope.vim @@ -0,0 +1,29 @@ +if !has('nvim') + finish +endif + +packadd cscope_maps.nvim + +nmap css :Cscope find s =expand("") +nmap csg :Cscope find g =expand("") +nmap csc :Cscope find c =expand("") +nmap cst :Cscope find t =expand("") +nmap cse :Cscope find e =expand("") +nmap csf :Cscope find f =expand("") +nmap csi :Cscope find i ^=expand("")$ +nmap csd :Cscope find d =expand("") +nmap csa :Cscope find a =expand("") +nmap cs :Cscope find +nmap :Cstag =expand('') + +lua <