.vimperatorrc

Wed, 19 Apr 2017 23:19:51 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 19 Apr 2017 23:19:51 -0400
changeset 546
37e57701e936
parent 517
8d4021a00228
child 654
0775d43ca3d0
permissions
-rw-r--r--

switch to gpgme

395
206cc4d98d49 no macros
Meredith Howard <mhoward@roomag.org>
parents: 227
diff changeset
1 set complete=sl
206cc4d98d49 no macros
Meredith Howard <mhoward@roomag.org>
parents: 227
diff changeset
2
227
230c3fc67325 Add .vimperatorrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 style browser .tab-close-button{ display: none; }
230c3fc67325 Add .vimperatorrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4
475
039e458c86cd command!
Meredith Howard <mhoward@roomag.org>
parents: 474
diff changeset
5 command! reader execute "open about:reader?url=" + content.location.href
474
fd9cf4712aad add reader and tab-nav bindings
Meredith Howard <mhoward@roomag.org>
parents: 471
diff changeset
6
fd9cf4712aad add reader and tab-nav bindings
Meredith Howard <mhoward@roomag.org>
parents: 471
diff changeset
7 nmap <F1> <Nop>
471
5df697de1d9e borrow from vimrc
Meredith Howard <mhoward@roomag.org>
parents: 463
diff changeset
8 nmap <F4> :noh<CR>
474
fd9cf4712aad add reader and tab-nav bindings
Meredith Howard <mhoward@roomag.org>
parents: 471
diff changeset
9
395
206cc4d98d49 no macros
Meredith Howard <mhoward@roomag.org>
parents: 227
diff changeset
10 nmap q <Nop>
463
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
11 nmap s tddg
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
12 nmap S :winopen -private ddg
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
13
517
8d4021a00228 ok this is obviously simpler
Meredith Howard <mhoward@roomag.org>
parents: 475
diff changeset
14 nmap J gt
8d4021a00228 ok this is obviously simpler
Meredith Howard <mhoward@roomag.org>
parents: 475
diff changeset
15 nmap K gT
474
fd9cf4712aad add reader and tab-nav bindings
Meredith Howard <mhoward@roomag.org>
parents: 471
diff changeset
16
fd9cf4712aad add reader and tab-nav bindings
Meredith Howard <mhoward@roomag.org>
parents: 471
diff changeset
17 nmap <C-r> :reader<CR>
fd9cf4712aad add reader and tab-nav bindings
Meredith Howard <mhoward@roomag.org>
parents: 471
diff changeset
18
463
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
19 javascript <<EOJ
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
20 (function() {
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
21 var ddg = Services.search.getEngineByName('DuckDuckGo');
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
22 if (ddg) ddg.alias = 'ddg';
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
23 })();
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
24 EOJ
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
25
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
26 source! ~/.vimperatorrc.local
227
230c3fc67325 Add .vimperatorrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
27
230c3fc67325 Add .vimperatorrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
28 " vim: set ft=vimperator:

mercurial