Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

42 lines (34 sloc) 0.794 kB
" Easy version Vimrc
" I kept all other settings in plugins/settings directory
"
" Eddie Kao
" http://blog.eddie.com.tw
" eddie@digik.com.tw
runtime bundle/vim-pathogen/autoload/pathogen.vim
filetype off
"call pathogen#runtime_append_all_bundles()
"call pathogen#incubate()
filetype plugin indent on
call pathogen#infect('bundle/{}')
call pathogen#helptags()
" =============
" custom key
" =============
" add a new line without entering insert mode
noremap <CR> o<Esc>
" map backspce to delete a character
noremap <BS> X
" map ctrl+c and ctrl+v
noremap <C-c> y
noremap <C-v> P
" cancel searched highlight
noremap ; :nohlsearch<CR>
" navigating for long lines
map j gj
map k gk
map <UP> gk
map <DOWN> gj
imap <UP> <ESC>gk<RIGHT>i
imap <DOWN> <ESC>gj<RIGHT>i
" select ALL
map <C-A> ggVG
Jump to Line
Something went wrong with that request. Please try again.