-
-
Save leonlee/b64e7ef7c27d1613d7ec to your computer and use it in GitHub Desktop.
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
"20091020 | |
let mapleader=";" | |
" " " 映射 | |
" " 页面操作 | |
" 一次移动5行 | |
noremap j 5j | |
noremap k 5k | |
" 上下滚动 | |
noremap J <C-d> | |
noremap K <C-u> | |
" 将停止映射至s | |
map <Leader>s :stop<cr> | |
" " 标签操作 | |
" 激活左/右标签 | |
noremap h gT | |
noremap l gt | |
" 移至最左/最右标签 | |
map < <C-6> | |
noremap > g$ | |
" 寻找上下页链接并翻页 | |
noremap ] ]] | |
noremap [ [[ | |
" " 恢复WINDOWS常用快捷键 | |
" 全选,复制 | |
"noremap <C-a> <C-v><C-a> | |
"noremap <C-c> <C-v><C-c> | |
"" 命令行模式复制,粘贴,剪切 | |
"cnoremap <C-c> <C-v><C-c> | |
"cnoremap <C-v> <C-v><C-v> | |
"cnoremap <C-x> <C-v><C-x> | |
"" 输入模式全选,复制,粘贴,剪切,撤销,恢复 | |
"inoremap <C-a> <C-v><C-a> | |
"inoremap <C-c> <C-v><C-c> | |
"inoremap <C-v> <C-v><C-v> | |
"inoremap <C-x> <C-v><C-x> | |
"inoremap <C-z> <C-v><C-z> | |
"inoremap <C-y> <C-v><C-y> | |
" " PASSTHOUGH | |
" 将passthrough映射至p | |
map p <C-z> | |
" 将下次按键passthrough映射至v | |
map v <C-v> | |
" " URL数字操作,有闲功能,默认关闭 | |
" 将URL数字+1映射至C-n | |
" map <C-n> <C-a> | |
" 将URL数字-1映射至C-b | |
" map <C-b> <C-x> | |
" " " 选项 | |
set gui=nomenu,tabs,nonavigation,nobookmarks,addons | |
nmap <F11> :set gui=bookmarks<CR> | |
nmap <S-F11> :set gui=nobookmarks,noaddons<CR> | |
nmap <C-F11> :set gui=addons<CR> | |
set noautocomplete | |
"set defsearch=g | |
"set nextpattern=\s*下一页|下一张|下页\s*,\bnext\b,^>$,^(>>)$,^(>),(& gt;)$,\bmore\b,^次(の)?ページ,\b次.*,\s*次へ,→\b | |
"set previouspattern=\s*上一页|上一张|上页\s*,\bprev|previous\b,^<$,^(<& lt;)$,^(<),(<)$,^前(の)?ページ,\b前.*,\s*前へ,\b← | |
"set popups=2 | |
set titlestring="orz Browser" | |
set editor=gvim | |
" "在Gmail,Google Reader,RTM自动PASS THROUGH | |
autocmd LocationChange .* :js modes.passAllKeys = /mail\.google\.(com|ca|fr)|www\.rememberthemilk\.com\/|www\.google\.com\/(reader|calendar)/.test(buffer.URL) | |
" Abbreviations | |
" source! ~/_vimperatorrc.local | |
""" == Commands == | |
"command noimg set! premissions.default.image=2 | |
"command ysimg set! premissions.default.image=1 | |
"command nojs set! javascript.enabled=false | |
"command ysjs set! javascript.enabled=true | |
" "配色方案,使用脚本配色,默认关闭 | |
" highlight StatusLine color:#bf783a; background:#d6c6af; //琥珀 亚麻 | |
" highlight CmdLine color:##fcfaf5; background:#fef4f4; // 樱 | |
"autocmd LocationChange www\.google\.cn :execute g() | |
"2.1 (created: 2009/05/21 13:13:06) | |
"set editor=D:/GreenSoftware/Vim/gvim.exe -f | |
"set runtimepath=C:\\Users\\orz\\vimperator | |
"source! C:\\Users\\orz\\_vimperatorrc.local | |
" vim: set ft=vim: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment