Compare commits
3 Commits
c403eb2e73
...
d30df125c5
Author | SHA1 | Date |
---|---|---|
Julian Ospald | d30df125c5 | |
Julian Ospald | 1c2e0fccc3 | |
Julian Ospald | 6e62775c1d |
|
@ -140,22 +140,22 @@ endif
|
||||||
" neosnippet
|
" neosnippet
|
||||||
" Plugin key-mappings.
|
" Plugin key-mappings.
|
||||||
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
|
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
|
||||||
imap <C-k> <Plug>(neosnippet_expand_or_jump)
|
" imap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||||
smap <C-k> <Plug>(neosnippet_expand_or_jump)
|
" smap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||||
xmap <C-k> <Plug>(neosnippet_expand_target)
|
" xmap <C-k> <Plug>(neosnippet_expand_target)
|
||||||
|
|
||||||
" SuperTab like snippets behavior.
|
" SuperTab like snippets behavior.
|
||||||
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
|
" Note: It must be "imap" and "smap". It uses <Plug> mappings.
|
||||||
imap <expr><tab> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : pumvisible() ? "\<c-n>" : "\<tab>"
|
" imap <expr><tab> neosnippet#expandable_or_jumpable() ? "\<Plug>(neosnippet_expand_or_jump)" : pumvisible() ? "\<c-n>" : "\<tab>"
|
||||||
smap <expr><tab> 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.
|
" For conceal markers.
|
||||||
if has('conceal')
|
" if has('conceal')
|
||||||
set conceallevel=2 concealcursor=niv
|
" set conceallevel=2 concealcursor=niv
|
||||||
endif
|
" endif
|
||||||
" Enable snipMate compatibility feature.
|
" Enable snipMate compatibility feature.
|
||||||
let g:neosnippet#enable_snipmate_compatibility = 1
|
" let g:neosnippet#enable_snipmate_compatibility = 1
|
||||||
let g:neosnippet#snippets_directory='~/.vim/custom-snippets'
|
" let g:neosnippet#snippets_directory='~/.vim/custom-snippets'
|
||||||
|
|
||||||
|
|
||||||
" rainbow
|
" rainbow
|
||||||
|
|
|
@ -107,5 +107,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"coc.preferences.hoverTarget": "float",
|
"coc.preferences.hoverTarget": "float",
|
||||||
|
"diagnostic.virtualText": true,
|
||||||
|
"diagnostic.enableSign": true,
|
||||||
"suggest.floatEnable": true
|
"suggest.floatEnable": true
|
||||||
}
|
}
|
||||||
|
|
1
vimrc
1
vimrc
|
@ -40,6 +40,7 @@ Plug 'junegunn/fzf.vim'
|
||||||
Plug 'sbdchd/neoformat'
|
Plug 'sbdchd/neoformat'
|
||||||
Plug 'AndrewRadev/bufferize.vim'
|
Plug 'AndrewRadev/bufferize.vim'
|
||||||
Plug 'vimwiki/vimwiki'
|
Plug 'vimwiki/vimwiki'
|
||||||
|
Plug 'vmchale/dhall-vim'
|
||||||
|
|
||||||
" scm
|
" scm
|
||||||
Plug 'tpope/vim-fugitive'
|
Plug 'tpope/vim-fugitive'
|
||||||
|
|
Loading…
Reference in New Issue