Skip to content

Instantly share code, notes, and snippets.

@RustingSword
Created January 5, 2015 08:23
Show Gist options
  • Save RustingSword/8ce7e36f097baaa628ab to your computer and use it in GitHub Desktop.
Save RustingSword/8ce7e36f097baaa628ab to your computer and use it in GitHub Desktop.
vimperatorrc + zotero
"3.8.2 (created: 2014/02/13 23:52:43)
map <C-c> :stop<Return>
map <lt> <C-6>
map p <C-z>
map v <C-v>
map <C-s> :stop<Return>
nmap <F5> :set<Space>gui=navigation<Return>
nmap <C-F5> :set<Space>gui=nonavigation<Return>
noremap j 5j
noremap k 5k
noremap J <C-d>
noremap K <C-u>
noremap h gT
noremap l gt
noremap > g$
noremap ] ]]
noremap [ [[
noremap ;z :emenu<Space>Tools.Zotero<Return>
noremap ;s :js<Space>Zotero_Browser.scrapeThisPage()<Return>
set noautocomplete
set complete=sl
set focuscontent
set hintchars=asdfjkl;
set "nextpattern=s*下一页|下一张|下页s*,next,^>$,^(>>)$,^(>),(& gt;)$,more,^次(の)?ページ,次.*,s*次へ,→"
set "previouspattern=s*上一页|上一张|上页s*,prev|previous,^<$,^(<& lt;)$,^(<),(<)$,^前(の)?ページ,前.*,s*前へ,←"
" vim: set ft=vim:
(function(){
var zoteroPanel = document.createElement("statusbarpanel");
zoteroPanel.setAttribute("id", "zotero-panel-clone");
zoteroPanel.appendChild(document.getElementById("zotero-status-image"));
zoteroPanel.firstChild.setAttribute("style", "padding: 0; max-height: 16px;");
document.getElementById("liberator-statusline")
.insertBefore(zoteroPanel, document.getElementById("security-button"));
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment