Add snippets supports/packages.
This commit is contained in:
parent
358f3cfde0
commit
6edea5ccb4
6
.gitmodules
vendored
6
.gitmodules
vendored
@ -40,3 +40,9 @@
|
|||||||
[submodule "pack/plugin/opt/airline-themes"]
|
[submodule "pack/plugin/opt/airline-themes"]
|
||||||
path = pack/plugin/opt/airline-themes
|
path = pack/plugin/opt/airline-themes
|
||||||
url = https://github.com/vim-airline/vim-airline-themes.git
|
url = https://github.com/vim-airline/vim-airline-themes.git
|
||||||
|
[submodule "pack/plugin/opt/ultisnips"]
|
||||||
|
path = pack/plugin/opt/ultisnips
|
||||||
|
url = https://github.com/SirVer/ultisnips.git
|
||||||
|
[submodule "pack/snippets/opt/snippets"]
|
||||||
|
path = pack/snippets/opt/snippets
|
||||||
|
url = https://github.com/honza/vim-snippets.git
|
||||||
|
|||||||
1
pack/plugin/opt/ultisnips
Submodule
1
pack/plugin/opt/ultisnips
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 49dc8cb2086db19d385791c8e1635723b0fd95c7
|
||||||
1
pack/snippets/opt/snippets
Submodule
1
pack/snippets/opt/snippets
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 393d980157b8149b3ff65a48bc4aae24dca9c846
|
||||||
15
vimrc.d/34-ultisnips.vim
Normal file
15
vimrc.d/34-ultisnips.vim
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
" Ultisnips configurations
|
||||||
|
packadd! ultisnips
|
||||||
|
" if want some default snippets
|
||||||
|
packadd! snippets
|
||||||
|
|
||||||
|
" Trigger configuration. You need to change this to something other than <tab>
|
||||||
|
" if you use one of the following:
|
||||||
|
" - https://github.com/Valloric/YouCompleteMe
|
||||||
|
" - https://github.com/nvim-lua/completion-nvim
|
||||||
|
let g:UltiSnipsExpandTrigger="<tab>"
|
||||||
|
let g:UltiSnipsJumpForwardTrigger="<c-b>"
|
||||||
|
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
|
||||||
|
|
||||||
|
" If you want :UltiSnipsEdit to split your window.
|
||||||
|
let g:UltiSnipsEditSplit="vertical"
|
||||||
Loading…
x
Reference in New Issue
Block a user