Anton Shestakov <av6@dwimlabs.net>, Tue, 04 Sep 2018 14:24:14 +0800
autostart: add redshift
.vimrc
Permissions: -rw-r--r--
execute pathogen#infect
()set wildmode=list:longest
set sessionoptions=buffers set nowrap " don't automatically wrap on load set textwidth=79 " width of document (used by gd) set formatoptions-=t " don't automatically wrap text when typing set listchars=tab:
>-,trail:·
,nbsp:⍽
set number " show line numbers set laststatus=2 " always show status line set ttimeoutlen=0 " eliminate delay after <ESC> highlight ColorColumn ctermbg
=233 map
<Leader
>n :
bprevious<CR
>map
<Leader
>p :CtrlPBuffer
<CR
>noremap <expr
> <silent> <Home
> col('.') == match(getline
('.'),'\S')+1 ?
'0' :
'^' imap
<silent> <Home
> <C
-O
><Home
>nnoremap <C
-Up
> :move .
-2<CR
> nnoremap <C
-Down
> :move .
+1<CR
> vnoremap <C
-Up
> :move '
<-2<CR
>gv
vnoremap <C
-Down
> :move '
>+1<CR
>gv
imap
<C
-Down
> <C
-O
><C
-Down
>nnoremap <F3
> :
setlocal list! list?
<CR
> nnoremap <F4
> :
setlocal cursorcolumn! cursorcolumn?
<CR
> filetype plugin indent
on let g:airline_left_sep
='' let g:airline_right_sep
='' let g:airline_theme
='powerlineish' let g:ctrlp_max_height
=30 let g:ctrlp_custom_ignore
='\v[\/](venv|node_modules|\.(git|hg|svn))$' let g:syntastic_check_on_open
=1 let g:syntastic_auto_loc_list
=1 let g:syntastic_enable_signs
=1 let g:syntastic_enable_highlighting
=1 let g:syntastic_html_checkers
=[
"jshint"]
let g:syntastic_html_jshint_exec
="~/node_modules/jshint/bin/jshint" let g:syntastic_python_checkers
=[
"pyflakes"]
let g:syntastic_lua_checkers
=[
"luac", "luacheck"]
let g:syntastic_lua_luacheck_exec
="~/.luarocks/bin/luacheck" let g:syntastic_javascript_checkers
=[
"jshint"]
let g:syntastic_javascript_jshint_exec
="~/node_modules/jshint/bin/jshint" au FileType python
call s:check_if_python3
() fun! s:check_if_python3
() if getline
(1) =~ '#!.*python3' let g:syntastic_python_checkers
=[
"pyflakes3"]
let g:signify_vcs_list
= [
"git", "hg"]
let g:ansible_attribute_highlight
="ab" let g:ansible_extra_keywords_highlight
=1