updates
This commit is contained in:
@@ -5,8 +5,9 @@
|
||||
"python.linting.flake8Enabled": true,
|
||||
"python.linting.mypyEnabled": true,
|
||||
"python.linting.pylintEnabled": false,
|
||||
"python.analysis.useLibraryCodeForTypes": false,
|
||||
/* "python.linting.pylintArgs": ["--disable=all", "--enable=F,E,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode"], */
|
||||
/* "python.linting.flake8Args": ["--ignore=E221,E226,E231,E241,E272,E501,E701,E704"], */
|
||||
"python.linting.flake8Args": ["--ignore=E731"],
|
||||
"git.enableGutters": true,
|
||||
"yaml.format.enable": true,
|
||||
"yaml.format.singleQuote": true,
|
||||
|
||||
+4
-9
@@ -43,7 +43,6 @@ Plug 'tpope/vim-sensible'
|
||||
Plug 'dkarter/bullets.vim'
|
||||
" python
|
||||
Plug 'tmhedberg/SimpylFold'
|
||||
Plug 'jeetsukumaran/vim-pythonsense'
|
||||
" tmux
|
||||
Plug 'christoomey/vim-tmux-navigator' " integrate movement in tmux and vim
|
||||
" aesthetics
|
||||
@@ -210,9 +209,9 @@ nnoremap Q <nop>
|
||||
|
||||
" *****************************
|
||||
" TERMINAL
|
||||
nmap <Leader>t :terminal<cr>
|
||||
tmap <M-x> <C-\><C-n>
|
||||
tmap <F2> <C-\><C-n>
|
||||
tmap <F10> <C-\><C-n>
|
||||
nmap <F9> :terminal<cr>
|
||||
|
||||
" *****************************
|
||||
" SEARCH
|
||||
@@ -327,10 +326,8 @@ nmap <F6> <Plug>(coc-refactor)
|
||||
xmap <F7> <Plug>(coc-format-selected)
|
||||
nmap <F7> <Plug>(coc-format-selected)
|
||||
nmap <F8> :CocDiagnostics<cr>
|
||||
" F9 reserved for exec in terminal
|
||||
nmap <silent> <F10> :Commits<cr>
|
||||
nmap <silent> <F11> :BCommits<cr>
|
||||
nmap <silent> <F12> :CocFzfList outline<cr>
|
||||
nmap <silent> <F11> :Commits<cr>
|
||||
nmap <silent> <F12> :BCommits<cr>
|
||||
nmap <silent> <M-b> :Buffers<cr>
|
||||
nmap <silent> <M-w> :RG<cr>
|
||||
nmap <silent> <M-g> :GFiles?<cr>
|
||||
@@ -415,8 +412,6 @@ augroup myAu " A unique name for the group. DO NOT use the same name twice!
|
||||
autocmd BufReadPost quickfix nmap <buffer> <cr> <cr> " quickfix <cr>
|
||||
autocmd CompleteDone * if pumvisible() == 0 | pclose | endif " bugfix
|
||||
autocmd BufNewFile,BufRead *.cfg set syntax=cfg
|
||||
autocmd FileType python map <F9> :CocCommand python.execInTerminal<CR>
|
||||
autocmd FileType python imap <F9> <esc>:CocCommand python.execInTerminal<CR>
|
||||
augroup end
|
||||
|
||||
" CTRL-A CTRL-Q to select all and build quickfix list
|
||||
|
||||
Reference in New Issue
Block a user