From 37051468f0ef7c63fddc7d11c6f6b4d937384742 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Thu, 12 Oct 2017 19:05:10 -0600 Subject: Adding back deoplete, misc options --- plugin/vim-options.vim | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'plugin/vim-options.vim') diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 35d6a63..00ea963 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -164,9 +164,9 @@ nnoremap df :diffput nnoremap _ [c nnoremap = ]c " Open folder of current file -nnoremap nn :e %:p:h +nnoremap n :e %:p:h " Open NERDTree -nnoremap nm :e. +nnoremap m :e. " Function for saving session function! SaveSession() :mksession! $SessionDir/session.vim @@ -460,7 +460,8 @@ endif "----------------------------------------------------------------------------------------------------------------------- if !empty(glob($EditorDir.'plugged/ale/autoload/ale.vim')) let g:ale_sign_column_always = 1 - let g:ale_lint_on_insert_leave = 1 + let g:ale_lint_on_text_changed = 'never' + let g:ale_python_mypy_options='--ignore-missing-imports' highlight clear ALEErrorSign highlight clear ALEWarningSign endif @@ -468,6 +469,16 @@ endif +"----------------------------------------------------------------------------------------------------------------------- +" Deoplete +"----------------------------------------------------------------------------------------------------------------------- +if !empty(glob($EditorDir.'plugged/deoplete.nvim/plugin/deoplete.vim')) + let g:deoplete#enable_at_startup = 1 +endif +"----------------------------------------------------------------------------------------------------------------------- + + + "----------------------------------------------------------------------------------------------------------------------- " Basic movements (h, j, k, l) require a number prefix. Break bad habits "----------------------------------------------------------------------------------------------------------------------- -- cgit v1.2.3