Skip to content

Commit

Permalink
vimperator: upgrade settings
Browse files Browse the repository at this point in the history
  • Loading branch information
kovetskiy committed Sep 1, 2016
1 parent d4f65c6 commit 3956d38
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 28 deletions.
2 changes: 0 additions & 2 deletions .vimperator/mappings.js → .vimperator/mappings.vim
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,3 @@ nnoremap % :source ~/.vimperatorrc<CR>
inoremap <C-]> <Ins><C-a><Ins><C-I>
inoremap <C-a> <Ins><C-a><Ins>
" vim:ft=vim
20 changes: 11 additions & 9 deletions .vimperator/settings.js → .vimperator/settings.vim
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
set! hintchars=qweasdiopjkl
set! gui=none
set complete=lS

set! editor="vimperator-editor $0"
set! cpt=l
set! showstatuslinks=2
set! hto=170
set! focuscontent
set hintchars=qweasdiopjkl
set gui=none

set editor=vimperator-editor
set cpt=l
set showstatuslinks=2
set hto=170
set focuscontent

set! breakpad.reportURL=""
set! browser.safebrowsing.appRepURL=""
Expand All @@ -26,7 +28,7 @@ set! browser.safebrowsing.updateURL=""
set! browser.send_pings.require_same_host=true
set! browser.send_pings=false
set! javascript.options.jit.chrome=true
set! javascript.options.jit.content=true
set! signon.rememberSignons=false
set! browser.tabs.closeWindowWithLastTab=false

" vim:ft=vim
set! gfx.font_rendering.fontconfig.fontlist.enabled=false
6 changes: 0 additions & 6 deletions .vimperator/style.js

This file was deleted.

5 changes: 5 additions & 0 deletions .vimperator/style.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
hi CompResult font-family: Monaco; font-size: 12px;
hi CompDesc font-family: Monaco; font-size: 12px;
hi CmdLine>* font-family: Monaco; font-size: 12px;
hi StatusLine font-family: Monaco; font-size: 12px;
hi Hint font-family: Monaco; font-size: 12px; font-weight: bold; text-transform: uppercase; line-height: 12px; color: white; background-color: red; border: 0; padding: 0px 1px 0px 1px; font-family: "Monaco";
14 changes: 4 additions & 10 deletions .vimperatorrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
source ~/.vimperator/style.js
source ~/.vimperator/settings.js
source ~/.vimperator/mappings.js
source ~/.vimperator/settings.vim
source ~/.vimperator/style.vim
source ~/.vimperator/mappings.vim

source ~/.vimperator/bundle/auto_reload.js
source ~/.vimperator/bundle/cookieManager.js

command! -nargs=0 Wipe
\ js tabs.remove(tabs.getTab(0), tabs.count, 0, 0, false)

" vim:ft=vim
command! -nargs=0 Wipe js tabs.remove(tabs.getTab(0), tabs.count, 0, 0, false)
4 changes: 4 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,8 @@ Plug 'kovetskiy/sxhkd-vim'

Plug 'PotatoesMaster/i3-vim-syntax'

Plug 'vimperator/vimperator.vim'

augroup end
call plug#end()

Expand Down Expand Up @@ -693,6 +695,8 @@ au operations BufRead *.noml set ft=noml.dracula

au operations FileType html setlocal sw=2

au operations BufRead */.vimperator/*.vim,.vimperatorrc set ft=vimperator

map Q <nop>
map K <nop>
Expand Down
Empty file modified bin/vimperator-editor
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion deadfiles

0 comments on commit 3956d38

Please sign in to comment.