aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-12-03 10:28:22 +0100
committerKarel Kočí <cynerd@email.cz>2021-12-03 10:28:22 +0100
commit072bea20ac530d031940069edfa458f503f1100e (patch)
treeff3aa9b88a50b4b107888124d6b0365f78faef59
parent3a3043e4ae061d30b30fdb0766d9021e9cedc573 (diff)
downloadmyconfigs-072bea20ac530d031940069edfa458f503f1100e.tar.gz
myconfigs-072bea20ac530d031940069edfa458f503f1100e.tar.bz2
myconfigs-072bea20ac530d031940069edfa458f503f1100e.zip
vim: remove neomutt and enable default nerdcommenter mappings
-rw-r--r--vim/ftplugin/python.vim2
-rw-r--r--vimrc4
2 files changed, 4 insertions, 2 deletions
diff --git a/vim/ftplugin/python.vim b/vim/ftplugin/python.vim
index e50189d..3edc7b5 100644
--- a/vim/ftplugin/python.vim
+++ b/vim/ftplugin/python.vim
@@ -1,6 +1,6 @@
setlocal colorcolumn=120
setlocal textwidth=120
-let b:ale_linters = ['pylsp', 'pylint']
+let b:ale_linters = ['pylsp', 'pylint', 'mypy']
let b:ale_fixers = ['isort', 'black', 'remove_trailing_lines', 'trim_whitespace']
let g:ale_python_black_options = '-l 120'
diff --git a/vimrc b/vimrc
index 3378284..41268b0 100644
--- a/vimrc
+++ b/vimrc
@@ -36,7 +36,6 @@ Plugin 'dhruvasagar/vim-table-mode'
Plugin 'editorconfig/editorconfig-vim'
Plugin 'vim-scripts/iptables'
Plugin 'nfnty/vim-nftables'
-Plugin 'neomutt/neomutt.vim'
Plugin 'sirtaj/vim-openscad'
Plugin 'tmhedberg/SimpylFold'
Plugin 'fedorenchik/qt-support.vim'
@@ -185,6 +184,9 @@ endfunction
setlocal spelllang=en_us
map <F11> :call LangToggle()<cr>
+" NERDCommenter
+let g:NERDCreateDefaultMappings = 1
+
" UltiSnips triggers
let g:UltiSnipsExpandTrigger="<c-h>"
let g:UltiSnipsJumpForwardTrigger="<c-j>"