Last active
November 15, 2016 14:23
-
-
Save TerminalWitchcraft/464642e7b08858b179772ee5d13c4150 to your computer and use it in GitHub Desktop.
Configuration file for cVim(Chrome)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Settings | |
set autoupdategist | |
set hud | |
set smoothscroll | |
set deafultnewtabpage | |
set autohidecursor " hide the mouse cursor when scrolling | |
set typelinkhints | |
set showtabindices | |
set completeonopen | |
set linkanimations | |
set noautofocus " The opposite of autofocus; this setting stops | |
" sites from focusing on an input box when they load | |
let typelinkhintsdelay = 0 | |
let hintcharacters = "dsawerjkiop" | |
let mapleader = " " | |
let searchlimit = 30 | |
let scrollstep = 70 | |
let barposition = "bottom" | |
" map edit with external editor | |
let vimcommand = "gvim -f +star" | |
" iunmap <C-i> | |
" map <C-i> createEditHint | |
imap <C-o> editWithVim | |
" let hintcharacters = "abc1234567" | |
" set search engines | |
let completionengines = ['google', 'google-image', 'youtube'] " Show only these engines in the command bar | |
" alias ':g' to ':tabnew google' | |
command g tabnew google | |
let blacklists = ["https://mail.google.com/*", "*://mail.google.com/*", "@https://mail.google.com/mail/*"] | |
" blacklists prefixed by '@' act as a whitelist | |
" Toggle the current HUD display value | |
map <C-h> :set hud!<CR> | |
" Switch between alphabetical hint characters and numeric hints | |
" map <C-i> :set numerichints!<CR> | |
" Code blocks (see below for more info) | |
getIP() -> {{ | |
httpRequest({url: 'http://api.ipify.org/?format=json', json: true}, | |
function(res) { Status.setMessage('IP: ' + res.ip); }); | |
}} | |
" Displays your public IP address in the status bar | |
map ci :call getIP<CR> | |
" Script hints | |
echo(link) -> {{ | |
alert(link.href); | |
}} | |
map <C-f> createScriptHint(echo) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment