-
Notifications
You must be signed in to change notification settings - Fork 0
/
vimrc
45 lines (36 loc) · 857 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
" general
syntax enable
set number
set relativenumber
set virtualedit=all
" theme
set background=dark
colorscheme solarized
" search
set hlsearch
set smartcase
set ignorecase
set incsearch
" tabs
set tabstop=2
set shiftwidth=2
set expandtab
set softtabstop=2
set autoindent
inoremap <S-Tab> <C-d>
" copy paste bindings
noremap <Leader>y "*y
noremap <Leader>p "*p
noremap <Leader>Y "+y
noremap <Leader>P "+p
" plugins
"" https://github.com/ctrlpvim/ctrlp.vim.git
set runtimepath^=~/.vim/bundle/ctrlp.vim
"" https://github.com/ntpeters/vim-better-whitespace
set runtimepath^=~/.vim/bundle/vim-better-whitespace
let g:strip_whitespace_on_save=1
let g:strip_whitespace_confirm=0
"" https://github.com/airblade/vim-gitgutter
set runtimepath^=~/.vim/bundle/vim-gitgutter
"" https://github.com/davidhalter/jedi-vim
set runtimepath^=~/.vim/bundle/jedi-vim