75:4ba4ae361b34
Anton Shestakov <engored@ya.ru>, Sun, 25 Jan 2015 18:41:35 +0800
.vimrc: F3 toggles cursorcolumn

next change 76:78d99bdc93dd
previous change 74:6be264e2b14e

.vimrc

Permissions: -rw-r--r--

Other formats: Feeds:
execute pathogen#infect()
set encoding=utf-8
set history=700
set undolevels=700
set mouse=a
set backspace=2
set scrolloff=4
set sidescrolloff=4
set clipboard=unnamed
set hidden
set nobackup
set nowritebackup
set noswapfile
set wildignore+=*.pyc
set wildmode=list:longest
set autoread
set hlsearch
set incsearch
set ignorecase
set smartcase
set sessionoptions-=options " do not store global and local values in a session
set sessionoptions-=folds " do not store folds
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 tabstop=8
set softtabstop=4
set shiftwidth=4
set shiftround
set expandtab
set number " show line numbers
set laststatus=2 " always show status line
set ttimeoutlen=0 " eliminate delay after <ESC>
set t_Co=256
set background=dark
set colorcolumn=80
highlight ColorColumn ctermbg=233
set pastetoggle=<F2>
let mapleader=","
map <Leader>n :bp <CR>
map <Leader>m :bn <CR>
" smart home
noremap <expr> <silent> <Home> col('.') == match(getline('.'),'\S')+1 ? '0' : '^'
imap <silent> <Home> <C-O><Home>
" better indentation
vnoremap < <gv
vnoremap > >gv
" bubble lines
nmap <C-Up> ddkP
nmap <C-Down> ddp
" show column
nnoremap <F3> :setlocal cursorcolumn!<CR>
imap <F3> <C-O><F3>
syntax on
filetype plugin indent on
" ctrlp
let g:ctrlp_max_height=30
let g:ctrlp_custom_ignore='\v[\/]venv$'
" syntastic
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_python_checkers=[]
let g:syntastic_javascript_checkers=["jsl"]
" python-mode
let g:pymode_folding=0
let g:pymode_lint_checker="pyflakes"
let g:pymode_lint_ignore="W0401"
set t_Co=256
color molokai
let g:molokai_original=1
set background=dark
set colorcolumn=80
highlight ColorColumn ctermbg=233