-
Notifications
You must be signed in to change notification settings - Fork 0
/
.pentadactylrc
133 lines (111 loc) · 4.14 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
"2.3.1 (created: 2010/04/07 18:25:13)
"set hinttimeout=5000
source ~/.pentadactyl/config
set verbose=0
loadplugins
"set saveform
set showstatuslinks=command
hi BufTabSelected color: green;font-weight:bold;font-weight:italics
hi BufTab color:#A8A8A8;font-weight: bold
set showtabline=never
set! javascript.options.methodjit.chrome=true
set strictfocus
set hintkeys=asdqwe
set shell="/bin/zsh"
nmap a gT
nmap s gt
nmap L :tabopen!
nnoremap F f
nnoremap f F
nmap d f
nmap D F
nmap <F13> -builtin d
nmap <F14> -builtin d
nmap S <C-c>
nnoremap B :bmarks! -tags<Space>
nnoremap b :bmark -tags<Space>
nnoremap P p
nnoremap p P
nmap <C-p> <C-^>
nmap w <C-b>
"nmap s <Space>
nmap <A-Down> <A-i>
nmap <BS> <C-o>
nmap <leader>c g;b
nmap <leader>h :set hlfind!<CR>
nmap PageUp 10k
nmap PageDown 10j
set defsearch=g
set editor="urxvt -e /usr/bin/vim -f"
set runtimepath=/home/raghavendra/.pentadactyl
hi CmdLine font-family: "Dina" !important; color: #afaf87 !important; font-size: 10pt !important; font-weight: normal;
set guioptions=Cs
command! -js good options.get("nss").op("+", [buffer.URL])
command! -js tgood options.get("nst").op("+", [buffer.URL])
command! -js bad options.get("nss").op("-", [buffer.URL])
command! -js tbad options.get("nst").op("-", [buffer.URL])
set wildmode=list:full
set altwildmode=list:longest
set newtab=all
"set! browser.sessionstore.max_tabs_undo=0
set! browser.sessionstore.max_windows_undo=0
set! browser.sessionstore.resume_from_crash=false
set! browser.sessionstore.max_resumed_crashes=0
"set! nglayout.debug.disable_xul_cache=true
"set! nglayout.debug.disable_xul_fastload=true
silent bmark http://www.google.com/search?btnI=I%27m+Feeling+Lucky&q=%s -title="Google feeling lucky search" -keyword=googlelucky
silent bmark -k=r http://reddit.com/r/%s/
colorscheme myzenburn
hi Bell display:none
set showmode
set titlestring=Firefox
set newtab=all
"autocmd LocationChange 'youtube.com' nnoremap p :ytpause<CR>
noremap <Esc> <C-c><Esc>
set autocomplete=!/ex/open,!/ex/tabopen,.?
set complete=sl
set tabclose=opener,previous,left,right
set tabopen=external:right,link:right,orphan:right
"set tabopen=external:start,link:left,orphan:left
autocmd! PageLoad .* silent !echo <url> \| <title> \| $(date -R) >>| /home/raghavendra/.dactyls/history/history &
autocmd! DownloadPost .* silent !echo <url> \| $(date -R) >>| /home/raghavendra/.download_history & ; notify-send Firefox <url> Download Complete
command! -nargs=0 loadsess silent run ~/bin/loadutil sess &
command! -nargs=0 loadhist silent run ~/bin/loadutil ist &
set buftabs-maxlength=15
" Ambiguous setting
set! browser.tabs.loadDivertedInBackground=false
set! extensions.checkCompatibility.4.0pre=false
set! ui.caretWidth=5
command! -nargs=0 addim :js dactyl.execute('silent run ~/bin/moviemanager add ' + buffer.URL + ' &')
autocmd! PageLoad http://.*imdb\.*tt[0-9]+/$ silent run ~/bin/moviemanager add <url> stage &!
command! -js -nargs=* lark writemark(args)
command! -js -nargs=* sess savesess(args)
command! -nargs=0 larks silent ~/bin/loadutil lark &
nmap <leader>l :lark
nmap <leader>L :larks<CR>
nmap <leader>s :sess
nmap <leader>S :loadsess<CR>
nmap <leader>h :loadhist<CR>
set novisualbell
:js dactyl.beep = function () {}
set maxitems=5
"set! noscript.forbidIFramesContext=0
set hlfind
com! inspector
\ -description "Open the DOM inspector for the current window"
\ :js window.inspectDOMDocument(document)
style! -name=unfuck-youtube youtube.com <<EOF
.homepage-side-block:not(:nth-last-of-type(2)):not(:nth-last-of-type(3))
{ display: none !important; }
EOF
" From stepnem's config
set! extensions.mozrepl.autoStart=true
set! toolkit.storage.synchronous=0
"set! extensions.mozrepl.initUrl=file:///home/stepnem/dactyl-mozrepl-init.js
" :extadd http://maglione-k.users.sf.net/mozrepl@hyperstruct.net.xpi
style -name noSync * #sync-status-button { display: none; }
sty -n bye-jimmy wikibooks.org,wikipedia.org div[id^=JA1banner] { display: none !important; }
sty -n bye-jimmy -a wikibooks.org,wikipedia.org div[id^=JABanner] { display: none !important; }
sty -n bye-jimmy -a wikibooks.org,wikipedia.org div[id^=EditorBanner] { display: none !important; }
source $HOME/.pentadactyl/blank.css
" vim: set ft=vim fdm=marker: