Skip to content

Instantly share code, notes, and snippets.

@scturtle scturtle/gist:959240
Last active Sep 25, 2015

Embed
What would you like to do?
vimperatorrc
" vim: set ft=vim:
" Vimperator 3.5
source! /Users/scturtle/.vimperatorrc.local
source ~/.vimperator/plugin/pinyin-hints.js
let mapleader=","
" quick jump
noremap <leader>1 :b 1<cr>
noremap <leader>2 :b 2<cr>
noremap <leader>3 :b 3<cr>
noremap <leader>4 :b 4<cr>
noremap <leader>5 :b 5<cr>
noremap <leader>6 :b 6<cr>
noremap <leader>7 :b 7<cr>
noremap <leader>8 :b 8<cr>
noremap <leader>9 :b 9<cr>
" quick move
noremap <leader>m1 :tabm 0<cr>
noremap <leader>m2 :tabm 1<cr>
noremap <leader>m3 :tabm 2<cr>
noremap <leader>m4 :tabm 3<cr>
noremap <leader>m5 :tabm 4<cr>
noremap <leader>m6 :tabm 5<cr>
noremap <leader>m7 :tabm 6<cr>
noremap <leader>m8 :tabm 7<cr>
noremap <leader>m9 :tabm 8<cr>
noremap j 3j
noremap k 3k
noremap J <C-d>
noremap K <C-u>
noremap s <C-c>
" backward and forward
noremap <C-i> <C-o>
noremap <C-o> <C-i>
set nextpattern+=\s*下一页|下一张|下一篇|下一頁|下页|后页\s*
set previouspattern+=\s*上一页|上一张|上一篇|上一頁|上页|前页\s*
" use :ignorekeys (list:add) instead
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.