-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pentadactylrc
45 lines (33 loc) · 1.4 KB
/
.pentadactylrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
" Load Plugins
loadplugins '\.(js|penta)$'
map , <Leader>
" Misc Options
" set guioptions=bCrsBmT
" (b)ottom scrollbar, (C) always show command outside of status, (r) right scroll, (s) status
" (B) bookmark bar, (T) Toolbar
set guioptions=bCrsBT
" set titlestring=Mozilla\ Firefox
" Edit rc file
cmap <Leader>r :!gvim $HOME/.pentadactylrc"
" Google Misc
com docs open https://docs.google.com/
com contacts open https://www.google.com/contacts
com m open https://www.gmail.com
" Mozilla Misc
com buzilla open https://bugzilla.mozilla.org
com zimbra open https://mail.mozilla.com/zimbra
com mozwiki open https://wiki.mozilla.org
com mozether open https://etherpad.mozilla.org
" Other Apps
com campfire open https://stumptownsyndicate.campfirenow.com
com osbether open http://etherpad.opensourcebridge.org
group user
" vim: set ft=pentadactyl:
" toggle nav toolbar
nmap <C-l> :toolbartoggle Navigation Toolbar<CR>
" toggle bookmarks toolbar
nmap <C-S-b> :toolbartoggle Bookmarks Toolbar<CR>
" setup pinboard shortcut
nmap <C-S-d> :pinboard<CR>
" set command for pinboard bookmark
command! pinboard :open javascript:(function(){q=location.href;if(document.getSelection){d=document.getSelection();}else{d='';};p=document.title;void(open('https://pinboard.in/add?showtags=yes&url='+encodeURIComponent(q)+'&description='+encodeURIComponent(d)+'&title='+encodeURIComponent(p),'Pinboard',%20'toolbar=no,width=700,height=600'))})()