" ----------------------------------------------------------- " neosnippet if g:IsWindowsGvim() let g:neosnippet#snippets_directory = "c:/tools/vim/vim90/mysnippet" endif if g:IsMacGvim() let g:neosnippet#snippets_directory = "~/.vim/mysnippet" endif if g:IsMacNeovim() let g:neosnippet#snippets_directory = "~/.config/nvim/mysnippet" endif if g:IsWsl() let g:neosnippet#snippets_directory = '/home/takets/.config/nvim/mysnippet' endif if g:IsLinux() let g:neosnippet#snippets_directory = '/home/kf/.config/nvim/mysnippet' endif let g:neosnippet#enable_completed_snippet = 1 " imap (neosnippet_expand_or_jump) " smap (neosnippet_expand_or_jump) " xmap (neosnippet_expand_target) " " SuperTab like snippets behavior. imap neosnippet#expandable_or_jumpable() ? \ "\(neosnippet_expand_or_jump)" \: pumvisible() ? "\" : "\" smap neosnippet#expandable_or_jumpable() ? \ "\(neosnippet_expand_or_jump)" \: "\" " For conceal markers. if has('conceal') set conceallevel=2 concealcursor=niv endif