-
Notifications
You must be signed in to change notification settings - Fork 56
/
Copy path.vimperatorrc
63 lines (47 loc) · 1.32 KB
/
.vimperatorrc
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
" let {{{
let g:plugin_loader_roots = "~/devel/src/github.com/vimpr/vimperator-plugins"
let g:plugin_loader_plugins = "_libly,asdfghjkl,feedSomeKeys_3"
let g:asdfghjkl_default = "true"
let g:asdfghjkl_hintchars = ":asdfghjkl"
" }}}
" set {{{
set scrollbars
set notabnumbers
set history=10000
" }}}
" Prefs (firefox) {{{
set! ui.key.generalAccessKey=0
set! ui.key.contentAccessKey=0
set! browser.tabs.autoHide=false
set! browser.sessionstore.interval=120000
set! javascript.options.jit.chrome=true
set! javascript.options.jit.content=true
set! browser.tabs.closeWindowWithLastTab=false
set! browser.startup.page=3
set! network.http.pipelining=true
" }}}
" Mapping {{{
nnoremap j 5<C-e>
nnoremap k 5<C-y>
" page info
nnoremap <C-g> g<C-g>
nnoremap <C-q> <Nop>
nnoremap q <Nop>
nnoremap y :<C-u>js<Space>util.copyToClipboard(buffer.URL)<CR>
cnoremap <C-n> <Tab>
cnoremap <C-p> <S-Tab>
cnoremap <C-g> <ESC>
" for AquaSKK
cnoremap <C-j> <Nop>
" }}}
" Command {{{
command! -nargs=+ sitesearch :exe ":tabopen <args> site:" + content.document.domain
" }}}
" Quickmarks {{{
silent qmark r http://reader.livedoor.com/reader/
silent qmark m https://mail.google.com/mail/#mbox
" }}}
ignorekeys add -except=:,d,t,gT mail\.google\.com
autocmd VimperatorEnter .* source ~/.vimperatorrc.js
colorscheme solarized_light
" vim:set ft=vim foldmethod=marker: