Created
March 28, 2012 03:31
-
-
Save emanon001/2223331 to your computer and use it in GitHub Desktop.
Definition of key-mapping using a prefix key. (step1)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 抽象的なプレフィックスキーを定義する | |
nnoremap <SID>[Tag] <Nop> | |
nnoremap <silent> <SID>[Tag]<Space> <C-]> | |
nnoremap <silent> <SID>[Tag]j :<C-u>tag<CR> | |
nnoremap <silent> <SID>[Tag]k :<C-u>pop<CR> | |
nnoremap <silent> <SID>[Tag]s :<C-u>tags<CR> | |
nnoremap <silent> <SID>[Tag]n :tnext<CR> | |
nnoremap <silent> <SID>[Tag]p :tprevious<CR> | |
nnoremap <silent> <SID>[Tag]f :tfirst<CR> | |
nnoremap <silent> <SID>[Tag]l :tlast<CR> | |
" 抽象的なプレフィックスキーと実際に打鍵するプレフィックスキーをリンクさせる | |
nnoremap <script> t <SID>[Tag] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment