Created
February 18, 2013 13:47
-
-
Save wusuopu/4977513 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
" pentadactylrc 1.0 | |
loadplugins '\.(js|penta)$' | |
group user | |
" vim: set ft=pentadactyl: | |
map J <C-d> | |
map K <C-u> | |
" 修改Ctrl快捷键 | |
" Noremap是不要递归映射 | |
" noremap <C-c> <C-v><C-c> | |
" cnoremap <C-c> <C-v><C-c> | |
" inoremap <C-a> <C-v><C-a> | |
map -builtin <C-a> <C-v><C-a> | |
map -builtin <C-c> <C-v><C-c> | |
map -builtin <C-v> <C-v><C-v> | |
map -builtin <C-x> <C-v><C-x> | |
cmap -builtin <C-c> <C-v><C-c> | |
cmap -builtin <C-v> <C-v><C-v> | |
cmap -builtin <C-x> <C-v><C-x> | |
cmap -builtin <C-x> <C-v><C-x> | |
imap -builtin <C-a> <C-v><C-a> | |
imap -builtin <C-c> <C-v><C-c> | |
imap -builtin <C-v> <C-v><C-v> | |
imap -builtin <C-x> <C-v><C-x> | |
imap -builtin <C-z> <C-v><C-z> | |
imap -builtin <C-y> <C-v><C-y> | |
map -builtin <C-`> :stop<CR> | |
cmap -builtin <C-`> :stop<CR> | |
" 在Gmail和Greader中屏蔽Vimperator | |
autocmd LocationChange .* :js modes.passAllKeys = /mail\.google\.com/.test(buffer.URL) || /google\.com\/reader\//.test(buffer.URL) | |
" 在有无菜单、地址栏之间切换: | |
map <C-Up> :se go=mT<CR> | |
map <C-Down> :se go=bCrs<CR>: | |
" surround com and net可以直接先输入网站名,再用<CTRL>+<ENTER>快捷输入.com/.net | |
" cnoremap <S-Return> <End>.org<Home><C-Right><Right>www.<CR> | |
" cnoremap <C-Return> <End>.com<Home><C-Right><Right>www.<CR> | |
" | |
" noremap <leader>tm :tabopen mail.google.com<CR> | |
" noremap <leader>tr :tabopen www.google.com/reader<CR> | |
" noremap <leader>tx :tabopen xbeta.info<CR> | |
" noremap <leader>te :tabopen xbeta.info/wp-admin<CR> | |
cmap -builtin <S-Return> <End>.org<Home><C-Right><Right>www.<CR> | |
cmap -builtin <C-Return> <End>.com<Home><C-Right><Right>www.<CR> | |
map -builtin <leader>tm :tabopen mail.google.com<CR> | |
map -builtin <leader>tr :tabopen www.google.com/reader<CR> | |
map -builtin <leader>tx :tabopen xbeta.info<CR> | |
map -builtin <leader>te :tabopen xbeta.info/wp-admin<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment