44 lines
789 B
VimL
44 lines
789 B
VimL
syntax on
|
|
|
|
filetype on
|
|
filetype indent on
|
|
filetype plugin on
|
|
|
|
set backspace=indent,eol,start
|
|
set backupdir^=~/.vim/_backup//
|
|
set cursorline
|
|
set cursorcolumn
|
|
set directory^=~/.vim/_temp//
|
|
set encoding=utf8
|
|
set hlsearch
|
|
set ignorecase
|
|
set incsearch
|
|
set laststatus=2
|
|
set linebreak
|
|
set modeline
|
|
set nowrap
|
|
set number
|
|
set smartcase
|
|
set tabstop=4
|
|
set textwidth=67
|
|
|
|
au BufRead,BufNewFile *.gcfg setfiletype gitconfig
|
|
|
|
map ,t :w<CR>
|
|
map ,- :nohl<CR>
|
|
map ,w :%s/ *$//<CR>
|
|
|
|
let g:airline_powerline_fonts = 1
|
|
let g:go_fmt_command = "goimports"
|
|
let g:python_highlight_all = 1
|
|
let g:rustfmt_autosave = 1
|
|
let g:terraform_align = 1
|
|
let g:terraform_fmt_on_save = 1
|
|
let g:vim_markdown_folding_disabled = 1
|
|
let g:vim_markdown_frontmatter = 1
|
|
let g:yapf_style = "pep8"
|
|
|
|
call pathogen#infect()
|
|
|
|
colo dracula
|