Adds Lexima and ultisnips

Lexima auto-closes brackets and quotes etc.
master
Jonathan Hodgson 4 years ago
parent ec6bad4c1a
commit 5ed6dc194c
  1. 3
      .gitmodules
  2. 15
      nvim/.config/nvim/init.vim
  3. 1
      nvim/.config/nvim/pack/bundle/opt/lexima.vim

3
.gitmodules vendored

@ -73,3 +73,6 @@
[submodule "nvim/.config/nvim/pack/bundle/opt/vim-snippets"] [submodule "nvim/.config/nvim/pack/bundle/opt/vim-snippets"]
path = nvim/.config/nvim/pack/bundle/opt/vim-snippets path = nvim/.config/nvim/pack/bundle/opt/vim-snippets
url = https://github.com/honza/vim-snippets url = https://github.com/honza/vim-snippets
[submodule "nvim/.config/nvim/pack/bundle/opt/lexima.vim"]
path = nvim/.config/nvim/pack/bundle/opt/lexima.vim
url = https://github.com/cohama/lexima.vim

@ -6,20 +6,27 @@ if has('packages')
packadd! AnsiEsc.vim packadd! AnsiEsc.vim
packadd! fzf.vim packadd! fzf.vim
packadd! gruvbox packadd! gruvbox
packadd! lexima.vim
packadd! ultisnips
packadd! vim-fugitive packadd! vim-fugitive
packadd! vim-json packadd! vim-json
packadd! vim-less packadd! vim-less
packadd! vim-repeat packadd! vim-repeat
packadd! vim-snippets
packadd! vim-surround packadd! vim-surround
packadd! vim-tridactyl packadd! vim-tridactyl
packadd! vim-vinegar packadd! vim-vinegar
if has('nvim') if has('nvim')
packadd! nvim-lspconfig
packadd! deoplete.nvim packadd! deoplete.nvim
packadd! deoplete-abook packadd! deoplete-abook
packadd! deoplete-lsp packadd! deoplete-lsp
packadd! deoplete-notmuch packadd! deoplete-notmuch
packadd! firenvim packadd! firenvim
lua <<EOF
if ( vim.lsp ~= nil ) then
vim.cmd "packadd! nvim-lspconfig"
end
EOF
endif endif
endif endif
@ -28,3 +35,9 @@ endif
filetype indent plugin on " filetype indent plugin on "
" Enables filetype specific syntaxs " Enables filetype specific syntaxs
syntax on syntax on
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<tab>"
let g:UltiSnipsJumpBackwardTrigger="<S-tab>"

@ -0,0 +1 @@
Subproject commit 89bf4dc13539131a29cf938074b3f1ce9d000bfd
Loading…
Cancel
Save