.vimperatorrc

Tue, 17 Jan 2017 21:55:05 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 17 Jan 2017 21:55:05 -0500
changeset 477
eeafc178ddc4
parent 475
039e458c86cd
child 517
8d4021a00228
permissions
-rw-r--r--

add -f for only plain files

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
474
fd9cf4712aad add reader and tab-nav bindings
Meredith Howard <mhoward@roomag.org>
parents: 471
diff changeset
14 nmap [b gT
fd9cf4712aad add reader and tab-nav bindings
Meredith Howard <mhoward@roomag.org>
parents: 471
diff changeset
15 nmap ]b gt
fd9cf4712aad add reader and tab-nav bindings
Meredith Howard <mhoward@roomag.org>
parents: 471
diff changeset
16 nmap [t gT
fd9cf4712aad add reader and tab-nav bindings
Meredith Howard <mhoward@roomag.org>
parents: 471
diff changeset
17 nmap ]t gt
fd9cf4712aad add reader and tab-nav bindings
Meredith Howard <mhoward@roomag.org>
parents: 471
diff changeset
18
fd9cf4712aad add reader and tab-nav bindings
Meredith Howard <mhoward@roomag.org>
parents: 471
diff changeset
19 nmap <C-r> :reader<CR>
fd9cf4712aad add reader and tab-nav bindings
Meredith Howard <mhoward@roomag.org>
parents: 471
diff changeset
20
463
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
21 javascript <<EOJ
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
22 (function() {
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
23 var ddg = Services.search.getEngineByName('DuckDuckGo');
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
24 if (ddg) ddg.alias = 'ddg';
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 EOJ
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
27
b864784951d9 switch to ddg
Meredith Howard <mhoward@roomag.org>
parents: 395
diff changeset
28 source! ~/.vimperatorrc.local
227
230c3fc67325 Add .vimperatorrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
29
230c3fc67325 Add .vimperatorrc
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
30 " vim: set ft=vimperator:

mercurial