From 87f817d6805109b03a96c33e8e76b8fbf45fae23 Mon Sep 17 00:00:00 2001 From: ache Date: Sun, 11 Nov 2018 00:29:30 +0100 Subject: Configure new plugins --- plugin/perso.vim | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/plugin/perso.vim b/plugin/perso.vim index 9af12b0..2b3959d 100755 --- a/plugin/perso.vim +++ b/plugin/perso.vim @@ -9,6 +9,14 @@ set t_Co=256 "map k k "map h h "map l l + +imap + + +imap + + + filetype plugin indent on " Color : @@ -126,3 +134,23 @@ set incsearch au BufNewFile *.c 0r ~/.vim/template/skel.c +let g:deoplete#enable_at_startup = 1 +" Plugin key-mappings. +" Note: It must be "imap" and "smap". It uses mappings. +imap (neosnippet_expand_or_jump) +smap (neosnippet_expand_or_jump) +xmap (neosnippet_expand_target) + +" SuperTab like snippets behavior. +" Note: It must be "imap" and "smap". It uses mappings. +"imap +" \ pumvisible() ? "\" : +" \ neosnippet#expandable_or_jumpable() ? +" \ "\(neosnippet_expand_or_jump)" : "\" +smap neosnippet#expandable_or_jumpable() ? +\ "\(neosnippet_expand_or_jump)" : "\" + +" For conceal markers. +if has('conceal') + set conceallevel=2 concealcursor=niv +endif -- cgit v1.2.3