Made vim more standard
This commit is contained in:
parent
ecd73e933f
commit
0ea9191371
52
.vimrc
52
.vimrc
|
@ -17,12 +17,12 @@ let g:csv_delim=','
|
||||||
|
|
||||||
" Pathogen
|
" Pathogen
|
||||||
filetype off " Pathogen needs to run before plugin indent on
|
filetype off " Pathogen needs to run before plugin indent on
|
||||||
execute pathogen#infect()
|
"execute pathogen#infect()
|
||||||
"call pathogen#runtime_append_all_bundles()
|
"call pathogen#runtime_append_all_bundles()
|
||||||
"call pathogen#helptags() " generate help tags for everything in 'runtimepath'
|
"call pathogen#helptags() " generate help tags for everything in 'runtimepath'
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
colorscheme gruvbox
|
"colorscheme gruvbox
|
||||||
syntax on
|
syntax on
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set softtabstop=4
|
set softtabstop=4
|
||||||
|
@ -37,32 +37,32 @@ nnoremap <C-j> <C-w>w
|
||||||
nmap Y y$
|
nmap Y y$
|
||||||
nmap C c$
|
nmap C c$
|
||||||
"nnoremap V <C-v>
|
"nnoremap V <C-v>
|
||||||
inoremap jj <Esc>
|
"inoremap jj <Esc>
|
||||||
inoremap kk <Esc>
|
"inoremap kk <Esc>
|
||||||
inoremap hh <Esc>
|
"inoremap hh <Esc>
|
||||||
inoremap lll <Esc>
|
"inoremap lll <Esc>
|
||||||
inoremap bbb <Esc>
|
"inoremap bbb <Esc>
|
||||||
inoremap eeee <Esc>
|
"inoremap eeee <Esc>
|
||||||
inoremap ww <Esc>
|
"inoremap ww <Esc>
|
||||||
inoremap yy <Esc>yy
|
"inoremap yy <Esc>yy
|
||||||
inoremap ddd <Esc>dd
|
"inoremap ddd <Esc>dd
|
||||||
inoremap dG <Esc>dG
|
"inoremap dG <Esc>dG
|
||||||
inoremap :w <Esc>:w
|
"inoremap :w <Esc>:w
|
||||||
inoremap :wq <Esc>:wq
|
"inoremap :wq <Esc>:wq
|
||||||
inoremap :q <Esc>:q
|
"inoremap :q <Esc>:q
|
||||||
inoremap :q! <Esc>:q!
|
"inoremap :q! <Esc>:q!
|
||||||
nnoremap <S-Tab> <<
|
"nnoremap <S-Tab> <<
|
||||||
inoremap <S-Tab> <C-d>
|
"inoremap <S-Tab> <C-d>
|
||||||
|
|
||||||
" Force me to stop using arrow keys
|
" Force me to stop using arrow keys
|
||||||
inoremap <Left> <Nop>
|
"inoremap <Left> <Nop>
|
||||||
nnoremap <Left> <Nop>
|
"nnoremap <Left> <Nop>
|
||||||
inoremap <Right> <Nop>
|
"inoremap <Right> <Nop>
|
||||||
nnoremap <Right> <Nop>
|
"nnoremap <Right> <Nop>
|
||||||
inoremap <Up> <Nop>
|
"inoremap <Up> <Nop>
|
||||||
nnoremap <Up> <Nop>
|
"nnoremap <Up> <Nop>
|
||||||
inoremap <Down> <Nop>
|
"inoremap <Down> <Nop>
|
||||||
nnoremap <Down> <Nop>
|
"nnoremap <Down> <Nop>
|
||||||
|
|
||||||
" Fix Home/End/Delete
|
" Fix Home/End/Delete
|
||||||
set backspace=indent,eol,start
|
set backspace=indent,eol,start
|
||||||
|
|
Loading…
Reference in New Issue