Created
August 1, 2017 11:39
-
-
Save chaudum/f9fd64256d77837fe30da113f5df6347 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" ~/.vimrc | |
" vim configuration for terminal | |
filetype off | |
execute pathogen#infect() | |
execute pathogen#helptags() | |
syntax on | |
color hybrid | |
filetype plugin indent on | |
set background=dark | |
set tabstop=2 | |
set shiftwidth=2 | |
set softtabstop=2 | |
set expandtab | |
set encoding=utf-8 | |
set ffs=unix,dos,mac | |
set clipboard=unnamed | |
"set ttyfast | |
"set lazyredraw | |
set ruler | |
set number | |
set showcmd | |
set showmode | |
set gdefault | |
set cursorline | |
set nohlsearch | |
set colorcolumn=79 | |
set splitbelow | |
set splitright | |
set rtp+=~/.fzf | |
silent! nmap <F10> :%s/\s\+$//e<CR> | |
map <F12> :echo 'Current time is ' . strftime('%c')<CR> | |
autocmd BufNewFile,BufRead *.conf set syntax=nginx | |
autocmd BufNewFile,BufRead *.txt set syntax=rst | |
autocmd BufNewFile,BufRead *.gradle set syntax=groovy | |
autocmd BufNewFile,BufRead *.init set syntax=upstart | |
autocmd BufNewFile,BufRead *.upstart set syntax=upstart | |
autocmd BufNewFile,BufRead *.ejs set syntax=html | |
autocmd BufNewFile * silent! 0r $HOME/.vim/templates/%:e.tpl | |
autocmd FileType python setlocal shiftwidth=4 tabstop=4 go+=b completeopt-=preview | |
autocmd FileType groovy setlocal shiftwidth=4 tabstop=4 | |
autocmd FileType java setlocal omnifunc=javacomplete#Complete | |
autocmd FileType rst setlocal textwidth=79 | |
let g:dbext_default_profile_crate_local = 'type=CRATE:host=localhost:port=4200' | |
let g:dbext_default_profile_crate_staging = 'type=CRATE:host=st1.p.fir.io:port=4200' | |
let g:dbext_default_profile_postgres_bench = 'type=psql:host=pg1.b.fir.io:port=5432' | |
let g:dbext_default_profile = 'crate_local' | |
let g:numbers_exclude = ['tagbar', 'gundo', 'minibufexpl' ] | |
let g:jedi#completions_command = "<C-N>" | |
let g:jedi#popup_on_dot = 1 | |
let g:jedi#use_splits_not_buffers = "winwidth" | |
let g:jedi#show_call_signatures = 0 | |
let g:markdown_fenced_languages = ['py=python', 'bash=sh', 'js=javascript', 'sql'] | |
let g:markdown_syntax_conceal = 0 | |
let g:markdown_frontmatter = 1 | |
let g:airline_theme = 'wombat' | |
let g:vrc_trigger = '<C-c>c' | |
highlight ExtraWhitespace ctermbg=darkred guibg=darkred | |
match ExtraWhitespace /\s\+$/ | |
"highlight OverLength ctermbg=darkred ctermfg=white guibg=#592929 | |
"match OverLength /\%78v.\+/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment