neosnippets
This commit is contained in:
parent
a15ad61cb4
commit
5c35f8f226
3 changed files with 10 additions and 1 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
|
@ -34,3 +34,6 @@
|
||||||
[submodule "tako/plugins"]
|
[submodule "tako/plugins"]
|
||||||
path = tako/plugins
|
path = tako/plugins
|
||||||
url = git@gitlab.com:jdkaplan/tako-plugins.git
|
url = git@gitlab.com:jdkaplan/tako-plugins.git
|
||||||
|
[submodule "neovim/neosnippets"]
|
||||||
|
path = neovim/neosnippets
|
||||||
|
url = https://github.com/Shougo/neosnippet-snippets.git
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ if dein#load_state('~/.config/nvim/plugins')
|
||||||
call dein#add('Shougo/dein.vim')
|
call dein#add('Shougo/dein.vim')
|
||||||
call dein#add('Shougo/denite.nvim')
|
call dein#add('Shougo/denite.nvim')
|
||||||
call dein#add('Shougo/deoplete.nvim')
|
call dein#add('Shougo/deoplete.nvim')
|
||||||
|
call dein#add('Shougo/neosnippet.vim')
|
||||||
call dein#add('fatih/vim-go')
|
call dein#add('fatih/vim-go')
|
||||||
call dein#add('kana/vim-textobj-user')
|
call dein#add('kana/vim-textobj-user')
|
||||||
call dein#add('glts/vim-textobj-comment')
|
call dein#add('glts/vim-textobj-comment')
|
||||||
|
|
@ -132,7 +133,7 @@ let g:go_highlight_operators = 1
|
||||||
let g:go_highlight_structs = 1
|
let g:go_highlight_structs = 1
|
||||||
let g:go_highlight_types = 1
|
let g:go_highlight_types = 1
|
||||||
let g:go_fmt_command = "goimports"
|
let g:go_fmt_command = "goimports"
|
||||||
|
let g:go_snippet_engine = "neosnippet"
|
||||||
|
|
||||||
let g:buffergator_viewport_split_policy = 'B'
|
let g:buffergator_viewport_split_policy = 'B'
|
||||||
let g:buffergator_autoupdate = 1
|
let g:buffergator_autoupdate = 1
|
||||||
|
|
@ -141,3 +142,7 @@ let g:buffergator_display_regime = 'bufname'
|
||||||
let g:buffergator_show_full_directory_path = 0
|
let g:buffergator_show_full_directory_path = 0
|
||||||
let g:buffergator_suppress_keymaps = 1
|
let g:buffergator_suppress_keymaps = 1
|
||||||
map <leader>b :BuffergatorToggle<CR>
|
map <leader>b :BuffergatorToggle<CR>
|
||||||
|
|
||||||
|
imap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||||
|
smap <C-k> <Plug>(neosnippet_expand_or_jump)
|
||||||
|
xmap <C-k> <Plug>(neosnippet_expand_target)
|
||||||
|
|
|
||||||
1
neovim/neosnippets
Submodule
1
neovim/neosnippets
Submodule
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 8dbb78599984140c50418d3dd23d0de4c8f13e74
|
||||||
Loading…
Add table
Add a link
Reference in a new issue