Last active
September 16, 2016 05:02
-
-
Save zeltak/287a9f894d3c06a7568a to your computer and use it in GitHub Desktop.
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
""""general options | |
"let configpath = '/home/zeltak/.cvimrc' | |
"set localconfig | |
" Settings | |
let barposition = "bottom" | |
" alias ':g' to ':tabnew google' | |
command g tabnew google | |
let completionengines = ["google", "amazon", "imdb", "dogpile"] | |
let searchalias g = "google" " Create a shortcut for search engines. | |
" For example, typing ':tabnew g example' | |
" would act the same way as ':tabnew google example' | |
let blacklists = ["https://mail.google.com/*", "*://mail.google.com/*", "@https://mail.google.com/mail/*"] | |
" blacklists prefixed by '@' act as a whitelist | |
set nosmoothscroll | |
set noautofocus "The opposite of autofocus; this setting stops sites from focusing on an input box when they load | |
let mapleader = "," | |
"Quick marks | |
let qmark a = ["http://www.reddit.com", "http://www.google.com", "http://twitter.com"] | |
let qmark 1 = "https://mail.google.com/mail/u/0/?tab=cm&zx=1a9kkuzmcil0m&shva=1#inbox" | |
let qmark 4 = "https://ttrss.server-speed.net/#f=-3am" | |
let qmark 2 = "https://www.google.com/calendar/b/0/render?tab=mc" | |
let qmark 5 = "https://www.google.com/contacts/#contacts" | |
let qmark 6 = ["http://woot.com" ,"http://1saleaday.com/" , "http://mobile.dailysteals.com/" , "http://slickdeals.net/", "http://www.priceplunge.com/" , "http://www.amazon.com/mobile-apps/b?ie=UTF8&node=2350149011" , "http://deals.woot.com/"] | |
let qmark 7 = ["https://groups.google.com/forum/#!forum/beets-users","https://plus.google.com/u/0/","https://bbs.archlinux.org/viewforum.php?id=27"] | |
let qmark 9 = ["http://www.walla.co.il/", "http://www.ynet.co.il/", "http://www.nrg.co.il/", "http://sports.walla.co.il/", "http://espn.go.com/", "http://soccernet.espn.go.com/", "http://www.cnn.com/", "http://kde-apps.org/", "http://kde-look.org/"] | |
let qmark w ="http://www.walla.co.il/" | |
let qmark o = "http://sports.walla.co.il/" | |
let qmark e = "http://espn.go.com/" | |
let qmark s = "http://soccernet.espn.go.com/?cc=5901" | |
let qmark c = "http://www.cnn.com/" | |
let qmark l = "http://www.livescore.com/default.dll?page=home" | |
let qmark L = "http://www.firstrowsports.eu/" | |
let qmark S = "http://subforge.org/projects/subtle/wiki" | |
let qmark E = "http://espn.go.com/espn3/index" | |
let qmark P = "http://paste.xinu.at/" | |
let qmark Y = "http://picasaweb.google.com/ykloog" | |
let qmark d = "http://debuzzer.com/" | |
let qmark R = "https://bbs.archlinux.org/viewtopic.php?pid=875820#p875820" | |
let qmark F = "http://192.168.0.44/" | |
let qmark D = "http://www.dropbox.com/" | |
let qmark W = "192.168.0.100" | |
let qmark M = "http://www.nrg.co.il/online/55/ART2/334/648.html?hp=55&cat=302&loc=11" | |
let qmark m = "http://talk.maemo.org/" | |
let qmark q = "http://slickdeals.net/" | |
let qmark x = "http://forum.xbmc.org/" | |
let qmark h = "http://www.haaretz.co.il/" | |
let qmark U = "http://gmusicbrowser.org/layout_doc.html" | |
let qmark i = "http://boston.craigslist.org/" | |
let qmark K = "http://livetv.ru/en/" | |
let qmark f = "https://bbs.archlinux.org/viewforum.php?id=27" | |
let qmark g = "https://plus.google.com/u/0/" | |
let qmark G = "https://groups.google.com/forum/#!forum/beets-users" | |
let qmark y = "www.ynet.co.il" | |
let qmark r = "http://lists.gnu.org/archive/html/emacs-orgmode/" | |
let qmark u = "https://github.com/zeltak" | |
let qmark v = "https://vpn.bgu.ac.il/extender.html" | |
let qmark x = "chrome://extensions" | |
let qmark t = "http://kickass.so/" | |
"""" Search engines | |
let searchengine im = "http://www.imdb.com/find?q=%s&s=all" | |
let searchalias g = "google" | |
let completionengines = ["google", "amazon", "imdb"] | |
""""""""""""" Mappings | |
map <Leader>r reloadTabUncached | |
unmap a s d x H h L l d u | |
map s nextTab | |
map a previousTab | |
map d closeTab | |
map h goBack | |
map l goForward | |
map gb goToTab | |
map u lastClosedTab | |
map <C-h> :set hud!<CR> | |
map <C-i> :set numerichints!<CR> | |
map <C-u> rootFrame | |
map <M-h> previousTab | |
map <C-d> scrollPageDown | |
map <C-e> scrollPageUp | |
"iunmap <C-y> deleteWord | |
"imap <C-m> deleteWord | |
unmap X | |
map X :execute gTx<CR> "Close the current tab and move to the one before it | |
map gb :buffer<Space> "You can use <Space>, which is interpreted as a literal " " character, to enter buffer completion mode | |
""" blacklists | |
" this will enable the config block below on the domain 'reddit.com' | |
site '*://*.reddit.com/*' { | |
unmap j | |
unmap k | |
set numerichints | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment