aboutsummaryrefslogtreecommitdiffstats
path: root/vimperator
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2015-11-30 18:03:24 +0100
committerGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2015-11-30 18:03:24 +0100
commita88f83b3f2cbb711e36584b62f4f9d00ab081330 (patch)
treee0d7461c19d23498766336c51534f44c03a4a1df /vimperator
parentc20419d91e482a4caaedb027ea3fe2c1ac158eb3 (diff)
downloaddotfiles-a88f83b3f2cbb711e36584b62f4f9d00ab081330.tar.gz
dotfiles-a88f83b3f2cbb711e36584b62f4f9d00ab081330.tar.bz2
dotfiles-a88f83b3f2cbb711e36584b62f4f9d00ab081330.zip
Removed configs i was not using
Diffstat (limited to 'vimperator')
-rw-r--r--vimperator/.vimperatorrc48
1 files changed, 0 insertions, 48 deletions
diff --git a/vimperator/.vimperatorrc b/vimperator/.vimperatorrc
deleted file mode 100644
index 872f044..0000000
--- a/vimperator/.vimperatorrc
+++ /dev/null
@@ -1,48 +0,0 @@
1"3.8.3 (created: 2014/11/09 13:19:01)
2
3highlight Hint font-family: monospace; font-size: 12px; font-weight: bold; text-transform: uppercase; color: white; background-color: red; border-color: ButtonShadow; border-width: 0px; border-style: solid; padding: 0px 1px 0px 1px;
4highlight HintElem ''
5set hintchars=asdfjkluiowerqp
6source! /home/tom/.vimperatorrc.local
7set gui=nonavigation
8
9
10" Hide status bar when fullscreen mode is detected as found in:
11" https://github.com/vimperator/vimperator-labs/issues/26#issuecomment-73982996
12
13autocmd Fullscreen .* js updateBottomBar()
14
15" Re-enable bottom bar during certain commands.
16noremap : :js updateBottomBar(false)<CR>:
17noremap o :js updateBottomBar(false)<CR>o
18noremap O :js updateBottomBar(false)<CR>O
19noremap t :js updateBottomBar(false)<CR>t
20noremap T :js updateBottomBar(false)<CR>t
21noremap / :js updateBottomBar(false)<CR>/
22cnoremap <CR> <CR>:js updateBottomBar()<CR>
23cnoremap <Esc> <Esc>:js updateBottomBar()<CR>
24
25:js << EOF
26
27let hlContentSepValue = highlight.get('ContentSeparator').value
28
29function updateBottomBar(close = window.fullScreen) {
30 let bb = document.getElementById('liberator-bottombar')
31 if (! bb) return
32
33 if (close) {
34 bb.style.height = '0px'
35 bb.style.overflow = 'hidden'
36 liberator.execute('highlight ContentSeparator display: none;')
37 }
38 else {
39 bb.style.height = ''
40 bb.style.overflow = ''
41 liberator.execute('highlight ContentSeparator ' + hlContentSepValue)
42 }
43}
44updateBottomBar()
45
46EOF
47
48" vim: set ft=vimperator: