Browse Source

Add neocomplete snippets

coc
Schneider 8 years ago
parent
commit
ce437b4432
  1. 18
      vimrc.symlink
  2. 4
      zsh/custom.zsh

18
vimrc.symlink

@ -195,3 +195,21 @@ endif
" For perlomni.vim setting.
" https://github.com/c9s/perlomni.vim
let g:neocomplete#sources#omni#input_patterns.perl = '\h\w*->\h\w*\|\h\w*::'
" Plugin key-mappings.
imap <C-k> <Plug>(neosnippet_expand_or_jump)
smap <C-k> <Plug>(neosnippet_expand_or_jump)
xmap <C-k> <Plug>(neosnippet_expand_target)
" SuperTab like snippets behavior.
"imap <expr><TAB>
" \ pumvisible() ? "\<C-n>" :
" \ neosnippet#expandable_or_jumpable() ?
" \ "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
smap <expr><TAB> neosnippet#expandable_or_jumpable() ?
\ "\<Plug>(neosnippet_expand_or_jump)" : "\<TAB>"
" For conceal markers.
if has('conceal')
set conceallevel=2 concealcursor=niv
endif

4
zsh/custom.zsh

@ -1,4 +1,8 @@
ZSH_THEME="agnoster"
HIST_STAMPS="dd.mm.yyyy"
COMPLETION_WAITING_DOTS="true"
export EDITOR="vim"
source $HOME/.dotfiles/zsh/aliases.zsh
Loading…
Cancel
Save