-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvimrc
53 lines (43 loc) · 1.37 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
set nocompatible
if $VIM_CRONTAB == "true"
set nobackup
set nowritebackup
endif
"shut the fuck up!
set noerrorbells visualbell t_vb=
autocmd GUIEnter * set visualbell t_vb=
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'chase/vim-ansible-yaml'
Plugin 'kien/ctrlp.vim'
Plugin 'altercation/vim-colors-solarized'
Plugin 'scrooloose/nerdtree'
Plugin 'terryma/vim-multiple-cursors'
call vundle#end()
filetype plugin indent on
let &colorcolumn=join(range(81,999),",")
syntax enable
syntax on
set background=light
colorscheme solarized
set nu
set hidden
" indentation
set tabstop=4
set softtabstop=4
set shiftwidth=4
set autoindent
set backspace=indent,eol,start
" Ignore these directories
set wildignore+=*/target/**
" CtrlP config:
let g:ctrlp_by_filename = 0
"NERDTree
"autocmd vimenter * NERDTree
"autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTreeType") && b:NERDTreeType == "primary") | q | endif
"autocmd BufEnter * if &modifiable | NERDTreeFind | wincmd p | wincmd z | wincmd . | endif
" Bindings
inoremap <Nul> <C-x><C-u>
set langmap=йq,цw,уe,кr,еt,нy,гu,шi,щo,зp,х[,ъ],фa,ыs,вd,аf,пg,рh,оj,лk,дl,ж\\;,э',ё\\\\,яz,чx,сc,мv,иb,тn,ьm,б\\,,ю.ЙQ,ЦW,УE,КR,ЕT,НY,ГU,ШI,ЩO,ЗP,Х{,Ъ},ФA,ЫS,ВD,АF,ПG,РH,ОJ,ЛK,ДL,Ж\\:,Э\\",Ё\\|,ЯZ,ЧX,СC,МV,ИB,ТN,ЬM,Б\\<,Ю\\>