Skip to content

Instantly share code, notes, and snippets.

@pesblog
Created December 10, 2013 09:17
Show Gist options
  • Save pesblog/7887851 to your computer and use it in GitHub Desktop.
Save pesblog/7887851 to your computer and use it in GitHub Desktop.
set ignorecase
set smartcase
"カーソル位置の単語をyankする
nnoremap vv vawy
"Insert mode内でEmacsキーバインドを少々使う
inoremap <C-o> <Esc>o
inoremap <C-h> <BS>
inoremap <C-a> <Esc>0i
inoremap <C-e> <Esc>:LineEnd<CR>a
inoremap <C-f> <Esc><Right>a
inoremap <C-b> <Esc>i
inoremap <C-d> <Esc><Right>xi
" search
"nnoremap n nzz
"nnoremap N Nzz
"nnoremap * *zz
"nnoremap # #zz
"次のメンバ(フィールド,メソッド)
eclipseaction GoNextMember org.eclipse.jdt.ui.edit.text.java.goto.next.member
nnoremap mm :GoNextMember<C-m>
"前のメンバ(フィールド,メソッド)
eclipseaction GoPrevMember org.eclipse.jdt.ui.edit.text.java.goto.previous.member
nnoremap mp :GoPrevMember<C-m>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment