Download:
child 24:af76b47a4a17
parent 22:e54f8d1eabf4
23:23199deecca4
Anton Shestakov <engored@ya.ru>, Wed, 09 Oct 2013 01:17:44 +0900
vimrc v1

1 файлов изменено, 78 вставок(+), 0 удалений(-) [+]
.vimrc file | annotate | diff | comparison | revisions
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.vimrc Wed Oct 09 01:17:44 2013 +0900
@@ -0,0 +1,78 @@
+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 pastetoggle=
+
+set ssop-=options " do not store global and local values in a session
+set ssop-=folds " do not store folds
+
+set nowrap " don't automatically wrap on load
+set tw=79 " width of document (used by gd)
+set fo-=t " don't automatically wrap text when typing
+set number " show line numbers
+
+set tabstop=4
+set softtabstop=4
+set shiftwidth=4
+set shiftround
+set expandtab
+
+set hlsearch
+set incsearch
+set ignorecase
+set smartcase
+
+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
+
+syntax on
+filetype plugin indent on
+
+" powerline
+set laststatus=2
+
+" ctrlp
+let g:ctrlp_max_height=30
+
+" 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"
+
+set t_Co=256
+color molokai
+let g:molokai_original=1
+set background=dark
+set colorcolumn=80
+highlight ColorColumn ctermbg=233