-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpentadactylrc
40 lines (30 loc) · 1.07 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
"hg7127
loadplugins '\.(js|penta)$'
group user
" pass through for github (to use t and s keys and other shortcuts, view with ?)
" autocmd LocationChange github.com :normal! <C-z>
" disabled because never used it and got in the way
" C-e invokes editor in text fields
set editor="emacsclient"
" Show pattern matches as you type,
set incfind
" Highlight previous search pattern matches,
set hlfind
" Ignore case in search unless pattern has uppercase chars,
set findcase=smart
" Color Scheme,
colorscheme solarized-dark
" Use characters for hints,
set hintkeys=asdflkj
hi -a Hint font-size: 12pt !important;
" capture link to emacs org mode
command capture-link -description "Capture current page in emacs kill ring as org-link" -javascript <<EOF
var emacs_client = "/usr/bin/emacsclient";
var url ='org-protocol://capture://'+
encodeURIComponent(location.href)+'/'+
encodeURIComponent(document.title)+'/'+
encodeURIComponent(window.getSelection());
var command = emacs_client + ' "' + url + '"';
CommandExMode().open("!" + command);
EOF
" vim: set ft=pentadactyl: