-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.pentadactylrc
70 lines (54 loc) · 1.76 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
loadplugins '\.(js|penta)$'
group user
colo molokai
set guioptions=rsbN
set titlestring=Firefox
set novb
set newtab=all
set editor='xterm -e vim'
set maxitems=10
set hintkeys="asdfghjkl"
hi -a Hint text-transform: uppercase;
" Mappings
nnoremap j 5j
nnoremap k 5k
noremap <leader>a :addons<cr>
noremap <leader>d :downloads<cr>
noremap <leader> :bmarks -tags=
map <leader>s :source ~/.pentadactylrc<CR>
command! fresh -description "Reload ~/.pentadactylrc file" source ~/.pentadactylrc
map <C-Up> :set guioptions-=B<cr>
map <C-Down> :set guioptions+=B<cr>
"Change tab
noremap <S-j> <C-p>
noremap <S-K> <C-n>
noremap > g$
noremap < g^
noremap , <C-6>
map w <C-tab>
map q <C-S-tab>
noremap W :tabmove! +1<CR>
noremap Q :tabmove! -1<CR>
nnoremap bm :buffer! Gmail<CR>
nnoremap br :buffer! reader<CR>
nnoremap bh :buffer! HootSuite<CR>
"back and forward
map <S-h> :back<CR>
map <S-l> :forward<CR>
"windows copy, past, all slect
map -m n,v,i,c,t <C-a> <Pass>
map -m n,v,i,c,t <C-c> <Pass>
map -m i,c,t <C-v> <Pass>
"Delicious
map -m n,v,i,c,t <C-b> <Pass>
map -m n,v,i,c,t <C-d> <Pass>
"local files
map -m n,v,i,c,t <C-o> <Pass>
set nextpattern=\s*下一页|下一张|下一篇|下页|后页\s*,^\\bnext\\b,^>$,^(>>|»)$,^(>|»),(>|»)$,\\bmore\\b
set previouspattern=\s*上一页|上一张|上一篇|上页|前页\s*,^\\b(prev|previous\\b),^<$,^(<<|«)$,^(<|«),(<|«)$
"-- passthrough --"
set passkeys+=mail.google.com:'!#*+-./<C-s><CR>?INU[]acefjklmnoprsuvxyz',*a,*n,*r,*s,*t,ga,gc,gd,gi,gl,gs,gt
set passkeys+=www.google.com/reader/:'!#*+-./<C-Down><C-s><Enter>?INU[]acefjkvf',ga,gh,gt
command! sitesearch -nargs=* tabopen http://www.google.com/search?q=<args>
map <silent> S :exe ":sitesearch "+content.getSelection()+" site:"+window.content.location.hostname<CR>
" vim: set ft=vimperator: