aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2020-11-10 21:13:47 +0100
committerRuben Beltran del Rio <ruben@unlimited.pizza>2020-11-10 21:13:47 +0100
commite2ed7665f56bf616027e617870fb2e6b94398fa3 (patch)
treeb491f2b0043b3514cac19ca043b1a2dbddfdaa97 /vimrc
parent01a1f14f38652448e2d4b210a846a22e0818707b (diff)
Update vim plugins
Diffstat (limited to 'vimrc')
-rwxr-xr-xvimrc21
1 files changed, 18 insertions, 3 deletions
diff --git a/vimrc b/vimrc
index 290bc11..652ec92 100755
--- a/vimrc
+++ b/vimrc
@@ -63,7 +63,6 @@ au BufNewFile,BufRead *.asm,*.s set filetype=snes"
" load the plugin and indent settings for the detected filetype
filetype plugin indent on
filetype plugin on
-set omnifunc=syntaxcomplete#Complete
" Directories for swp files
set backupdir=~/.vim/.backup
@@ -102,6 +101,11 @@ set rtp+=/usr/local/opt/fzf
" Inserts the path of the currently edited file into a command
noremap <C-P> :FZF <CR>
+let g:fzf_layout = { 'down': '40%' }
+
+" Auto Pairs
+let g:AutoPairsMultilineClose = 0
+
" ALE config
let g:ale_linter_aliases = {'svelte': ['css', 'javascript']}
let g:ale_linters = {
@@ -114,6 +118,11 @@ let g:ale_fixers = {
\}
let g:ale_fix_on_save = 1
+" Deoplete config
+let g:deoplete#enable_at_startup = 1
+inoremap <expr><tab> pumvisible() ? "\<c-n>" : "\<tab>"
+inoremap <expr><S-tab> pumvisible() ? "\<c-p>" : "\<tab>"
+
"
" A E S T H E T I C S
"
@@ -183,7 +192,7 @@ vnoremap <C-S-k> :m '<-2<CR>gv=gv
call plug#begin('~/.vim/plugged')
" Syntaxes
-Plug 'rbdr/api-notation.vim'
+Plug 'https://gitlab.com/rbdr/api-notation.vim.git'
Plug 'elzr/vim-json'
Plug 'mustache/vim-mode'
Plug 'othree/yajs.vim'
@@ -201,11 +210,17 @@ Plug 'michaeljsmith/vim-indent-object'
" Tools
Plug 'editorconfig/editorconfig-vim'
Plug 'dense-analysis/ale'
+if has('nvim')
+ Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
+else
+ Plug 'Shougo/deoplete.nvim'
+ Plug 'roxma/nvim-yarp'
+ Plug 'roxma/vim-hug-neovim-rpc'
+endif
Plug 'vim-scripts/LargeFile'
Plug 'tpope/vim-fugitive'
Plug 'milkypostman/vim-togglelist'
Plug 'jremmen/vim-ripgrep'
-Plug 'lifepillar/vim-mucomplete'
" List ends here. Plugins become visible to Vim after this call.
call plug#end()