aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'plugin')
-rw-r--r--plugin/vim-options.vim17
1 files changed, 14 insertions, 3 deletions
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 <leader>df :diffput<CR>
nnoremap _ [c
nnoremap = ]c
" Open folder of current file
-nnoremap <leader>nn :e %:p:h<CR>
+nnoremap <leader>n :e %:p:h<CR>
" Open NERDTree
-nnoremap <leader>nm :e.<CR>
+nnoremap <leader>m :e.<CR>
" 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
@@ -469,6 +470,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
"-----------------------------------------------------------------------------------------------------------------------
function! DisableIfNonCounted(move) range