Making a mess with vimrc things probably
This commit is contained in:
parent
afef675775
commit
4ee282673e
14
vimrc
14
vimrc
@ -22,8 +22,15 @@ set smartcase
|
|||||||
set tabstop=4
|
set tabstop=4
|
||||||
set textwidth=67
|
set textwidth=67
|
||||||
|
|
||||||
|
if has("persistent_undo")
|
||||||
|
set undodir=~/.vim/_undo//
|
||||||
|
set undofile
|
||||||
|
endif
|
||||||
|
|
||||||
|
au BufRead,BufNewFile Pipfile setfiletype toml
|
||||||
au BufRead,BufNewFile *.gcfg setfiletype gitconfig
|
au BufRead,BufNewFile *.gcfg setfiletype gitconfig
|
||||||
au QuickFixCmdPost *grep* cwindow
|
au QuickFixCmdPost *grep* cwindow
|
||||||
|
au BufWritePre *.py execute ':Black'
|
||||||
|
|
||||||
map ,t :w<CR>
|
map ,t :w<CR>
|
||||||
map ,- :nohl<CR>
|
map ,- :nohl<CR>
|
||||||
@ -39,6 +46,13 @@ let g:vim_markdown_folding_disabled = 1
|
|||||||
let g:vim_markdown_frontmatter = 1
|
let g:vim_markdown_frontmatter = 1
|
||||||
let g:yapf_style = "pep8"
|
let g:yapf_style = "pep8"
|
||||||
|
|
||||||
|
if has("python3")
|
||||||
|
python3 from powerline.vim import setup as powerline_setup
|
||||||
|
python3 powerline_setup()
|
||||||
|
python3 del powerline_setup
|
||||||
|
endif
|
||||||
|
|
||||||
call pathogen#infect()
|
call pathogen#infect()
|
||||||
|
|
||||||
colo dracula
|
colo dracula
|
||||||
|
hi Comment cterm=NONE ctermfg=DarkRed gui=NONE guifg=red2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user