From 1885132796bd1b3221a8abe2401dc7c23562fd3c Mon Sep 17 00:00:00 2001 From: Sanchayan Maity Date: Sun, 8 Dec 2019 17:51:33 +0530 Subject: [PATCH] nvim: init.vim: Add ultisnips Signed-off-by: Sanchayan Maity --- nvim/init.vim | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/nvim/init.vim b/nvim/init.vim index 9c43032..78e83a3 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -69,6 +69,9 @@ Plug 'sebastianmarkow/deoplete-rust', { 'for': 'rust' } Plug 'cespare/vim-toml', { 'for': 'rust' } Plug 'rust-lang/rust.vim', { 'for': 'rust' } Plug 'mhinz/vim-crates' +" Snippets +Plug 'SirVer/ultisnips' +Plug 'honza/vim-snippets' " Erlang Support Plug 'vim-erlang/vim-erlang-tags', { 'for': 'erlang' } Plug 'vim-erlang/vim-erlang-runtime', { 'for': 'erlang' } @@ -567,6 +570,12 @@ let g:cpp_posix_standard = 1 let g:cpp_concepts_highlight = 1 let g:agriculture#rg_options = '--case-sensitive' + +let g:UltiSnipsExpandTrigger="" +let g:UltiSnipsJumpForwardTrigger="" +let g:UltiSnipsJumpBackwardTrigger="" +let g:UltiSnipsEditSplit="vertical" + " ----------------------------- Functions ------------------------------------ " For CScope and Quickfix " https://medium.com/@lakshmankumar12/quickfix-and-location-list-in-vim-ca0292ac894d