-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
52 lines (42 loc) · 1.42 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
execute pathogen#infect()
syntax on
set encoding=utf-8
set number "show line numbers
set incsearch "search as you type
"set hlsearch "highlight search results
set ls=2 "always show status bar
set hidden "proper hidden buffers
set wildmenu "commands autocomplete
"------------------------- Color scheme ----------------------------
"let g:solarized_termcolors=256
"set background=dark
"colorscheme solarized
set t_Co=256
colorscheme Tomorrow-Night
"----------------------- Tabulation and indentation ---------------
set autoindent
filetype plugin indent on
set tabstop=2 "amount of spaces tab shows as
set softtabstop=2 "amout of spaces tab does WHILE EDITING
set expandtab "transform tabs into spaces
set shiftwidth=2 "amount of spaces for > indent
"----------------------- Custom binds ----------------------------
inoremap <% <%%><Left><Left>
inoremap jk <Esc>
"----------------------- Vim-Airline ------------------------------
let g:airline#extensions#tabline#enabled = 1
"----------------------- Ctrl-P ----------------------------------
set runtimepath^=~/.vim/bundle/ctrlp.vim
let g:ctrlp_show_hidden = 1
" russian keyboard support
" ctrl+^ to switch language
set keymap=russian-jcukenwin
set iminsert=0
set imsearch=0
highlight lCursor guifg=NONE guibg=Cyan
" turns off ELP for easy netrw access
let g:loaded_logipat = 1
" silver searcher with ack.vim
if executable('ag')
let g:ackprg = 'ag --nogroup --nocolor --column'
endif