-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
88 lines (78 loc) · 1.9 KB
/
.vimrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
""""""""""""""""""""
" BUNDLES (VUNDLE)
""""""""""""""""""""
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Bundle 'gmarik/Vundle.vim'
Bundle 'bling/vim-airline'
let g:airline#extensions#tabline#enabled = 1
Bundle 'altercation/vim-colors-solarized'
Bundle 'kien/ctrlp.vim'
let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmd = 'CtrlP'
let g:ctrlp_working_path_mode = 'ra'
Bundle 'tpope/vim-surround'
Bundle "mattn/emmet-vim"
Bundle 'sjl/gundo.vim'
Bundle 'mhinz/vim-signify'
Bundle 'scrooloose/nerdtree'
map <C-n> :NERDTreeToggle<CR>
Bundle 'scrooloose/nerdcommenter'
Bundle 'scrooloose/syntastic'
let g:syntastic_auto_loc_list=1
let g:syntastic_javascript_checkers = ['jshint', 'jsl']
Bundle 'groenewege/vim-less'
let g:user_emmet_leader_key='<C-Z>'
Bundle 'ntpeters/vim-better-whitespace'
call vundle#end()
filetype plugin indent on
""""""""""""""""""""
" ENVIRONMENT
""""""""""""""""""""
set encoding=utf-8 nobomb
set fileencodings=utf-8,cp1251
set termencoding=utf-8
set fileformat=unix
set fileformats=unix
set nocompatible
set nobackup
set noswapfile
set backspace=indent,eol,start
set winminheight=1
set autoread
set number
set visualbell
set laststatus=2
set langmap=ЙЦУКЕНГШЩЗХЪЁ;QWERTYUIOP{}\|,ФЫВАПРОЛДЖЭ;ASDFGHJKL:\",ЯЧСМИТЬБЮ?;ZXCVBNM<>?,йцукенгшщзхъё;qwertyuiop[]\\\\,фывапролджэ;asdfghjkl\;',ячсмитьбю/;zxcvbnm\\,./
set showcmd
""""""""""""""""""""
" WHITESPACE
""""""""""""""""""""
set autoindent
set copyindent
set smartindent
set expandtab
set tabstop=4
set softtabstop=4
set shiftwidth=4
set smarttab
set lcs=tab:▸\ ,trail:·,eol:¬,nbsp:_
"set list
""""""""""""""""""""
" HIGHLIGHT
""""""""""""""""""""
syntax on
set cursorline
set background=dark
colorscheme solarized
""""""""""""""""""""
" SEARCH
""""""""""""""""""""
set incsearch
set hlsearch
set showmatch
set ignorecase
set smartcase
set gdefault