2019-10-01 12:24:06 +00:00
|
|
|
call plug#begin("~/.vim/plugged")
|
2019-10-01 02:35:25 +00:00
|
|
|
|
|
|
|
Plug 'erichdongubler/vim-sublime-monokai'
|
|
|
|
|
|
|
|
call plug#end()
|
|
|
|
|
|
|
|
set number
|
|
|
|
syntax on
|
2019-10-03 18:41:59 +00:00
|
|
|
colorscheme sublimemonokai
|
2019-10-01 02:35:25 +00:00
|
|
|
|
|
|
|
let &t_8f="\<Esc>[38;2;%lu;%lu:lum"
|
|
|
|
let &t_8b="\<Esc>[48;2;%lu;%lu:lum"
|
2019-10-03 18:41:59 +00:00
|
|
|
|
|
|
|
" tmux will send xterm-style keys when its xterm-keys option is on
|
2019-10-04 21:22:17 +00:00
|
|
|
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
|