-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathvimrc
More file actions
34 lines (26 loc) · 737 Bytes
/
vimrc
File metadata and controls
34 lines (26 loc) · 737 Bytes
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
call plug#begin("~/.vim/plugged")
Plug 'erichdongubler/vim-sublime-monokai'
call plug#end()
set number
syntax on
colorscheme sublimemonokai
let &t_8f="\<Esc>[38;2;%lu;%lu:lum"
let &t_8b="\<Esc>[48;2;%lu;%lu:lum"
" tmux will send xterm-style keys when its xterm-keys option is on
execute "set <xUp>=\e[1;*A"
execute "set <xDown>=\e[1;*B"
execute "set <xRight>=\e[1;*C"
execute "set <xLeft>=\e[1;*D"
nnoremap <S-Up> :m-2<CR>
nnoremap <S-Down> :m+<CR>
inoremap <S-Up> <Esc>:m-2<CR>
inoremap <S-Down> <Esc>:m+<CR>
" Because Python messes up tabs
autocmd FileType python setlocal noexpandtab
autocmd FileType python setlocal tabstop=4
set autoindent
set copyindent
set noexpandtab
set tabstop=4
set shiftwidth=4
set softtabstop=4