-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.vimrc
50 lines (39 loc) · 929 Bytes
/
.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
colorscheme desert
set dir=~/.vim/backups
set shell=/bin/bash
set autochdir
set tags=tags;
runtime startup/cyrillic.vim
set copyindent
set preserveindent
set mouse=a
set number
set spell
set ignorecase
set hlsearch
set wrapscan
set ruler
set autoindent
set smartindent
set expandtab
set encoding=utf-8
set tabstop=2 shiftwidth=2 softtabstop=2
execute pathogen#infect()
let g:ctrlp_map = '<c-p>'
let g:ctrlp_cmp = 'CtrlP'
let g:ctrlp_working_path_mode = 'ra'
let g:SuperTabDefaultCompletionType='context'
set nocompatible
syntax on
filetype on
filetype plugin indent on
map <C-J> :bnext<CR>
map <C-K> :bprev<CR>
map <C-L> :tabn<CR>
map <C-H> :tabp<CR>
nnoremap <leader>R :RubocopThis<CR>
nnoremap <leader>T :RubocopAll<CR>
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/
highlight SingleQuotesPreferred ctermbg=yellow guibg=yellow
match SingleQuotesPreferred /"[^\#{]+"/