aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-12-12 21:44:34 -0700
committerCody Hiar <codyfh@gmail.com>2017-12-12 21:44:34 -0700
commit184c1dfb450a6dce4387d153b4842bf0f7c4e78f (patch)
tree97c37c81fd9140fd015809a8976052d5fda39999 /plugin
parentce3aedff0bab1493a4a9e1c39ba625a5deb832dd (diff)
Add htop
Diffstat (limited to 'plugin')
-rw-r--r--plugin/vim-options.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index 4c503ce..73c590b 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -119,6 +119,9 @@ if has('nvim')
tnoremap <A-j> <C-\><C-N><C-w>j
tnoremap <A-k> <C-\><C-N><C-w>k
tnoremap <A-l> <C-\><C-N><C-w>l
+ tnoremap <ESC> <C-\><C-N>
+ nmap <F6> <C-w>s<C-w>k:edit term://bash<CR>i
+ nmap <F7> <C-w>s<C-w>k:edit term://htop<CR><C-w>j
else
let $EditorDir=$HOME.'/.vim/'
let $SessionDir='.'
@@ -404,9 +407,11 @@ endif
" Ale
"-----------------------------------------------------------------------------------------------------------------------
if !empty(glob($EditorDir.'plugged/ale/autoload/ale.vim'))
+ let g:ale_lint_on_enter = 0
let g:ale_sign_column_always = 1
let g:ale_lint_on_text_changed = 'never'
let g:ale_python_mypy_options='--ignore-missing-imports'
+ let g:ale_history_enabled = 0
highlight clear ALEErrorSign
highlight clear ALEWarningSign
endif
@@ -420,6 +425,7 @@ endif
if !empty(glob($EditorDir.'plugged/tagbar/plugin/tagbar.vim'))
nmap <F8> :TagbarToggle<CR>
let g:tagbar_foldlevel = 1
+ autocmd VimEnter * nested :TagbarOpen
endif
"-----------------------------------------------------------------------------------------------------------------------