Last active
January 1, 2017 04:17
-
-
Save svermeulen/36a672a4f15cf0fb2f91 to your computer and use it in GitHub Desktop.
cVim Config
This file contains hidden or 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
unmapAll | |
let scrollstep = 75 | |
let barposition = "bottom" | |
let mapleader = "," | |
set typelinkhints | |
set numerichints | |
set smoothscroll | |
set localconfig | |
set noautofocus | |
map j scrollDown | |
map ; scrollUp | |
map / openSearchBar | |
map ' previousSearchResult | |
map n nextSearchResult | |
map ? openSearchBarReverse | |
map D scrollToTop | |
map V scrollToBottom | |
map o scrollPageUp | |
map i scrollPageDown | |
map f createHint | |
map F createTabbedHint | |
map : openCommandBar | |
map gi goToInput | |
map r reloadTab | |
map R reloadTabUncached | |
map w :new<cr> | |
map t :tabnew<cr> | |
map T :duplicate<cr> | |
map <Leader>td :tabdetach<cr> | |
map zi zoomPageIn | |
map zo zoomPageOut | |
map x closeTab | |
map . repeatCommand | |
map yy yankDocumentUrl | |
map d :open<space> | |
map H goBack | |
map L goForward | |
map l scrollRight | |
map h scrollLeft | |
map Y yankUrl | |
map M* addQuickMark | |
map a* openQuickMark | |
map <Leader>h :tabnew https://github.com/1995eaton/chromium-vim<cr> | |
map <C-v> centerMatchH | |
let qmark m = ["http://modesttree.center"] | |
let qmark b = ["http://modesttree.center:7001/allPlans.action"] | |
let qmark c = ["https://calendar.google.com"] | |
let qmark e = ["https://mail.google.com"] | |
let qmark f = ["http://www.facebook.com"] | |
let qmark g = ["http://www.github.com"] | |
let qmark i = ["http://www.inoreader.com/"] | |
let qmark l = ["http://localhost:63034/Project"] | |
let qmark s = ["http://modest-internal:9002/Registration/LogOn"] | |
let qmark t = ["https://trello.com/"] | |
let qmark v = ["https://www.reddit.com/r/vim"] | |
let qmark z = ["https://www.github.com/modesttree/zenject"] | |
let qmark p = ["https://getpocket.com"] | |
let qmark o = ["https://getpocket.com/a/queue/list/prioritized/"] | |
let qmark j = ["http://modest-internal:8080/secure/Dashboard.jspa"] | |
"let blacklists = ["*://mail.google.com/*"] | |
site '*://*.youtube.com/*' { | |
unmap L | |
} | |
site '*://*getpocket.com/*' { | |
unmapAll | |
map w :new<cr> | |
map H goBack | |
map L goForward | |
} | |
site '*://mail.google.com/*' { | |
unmapAll | |
map w :new<cr> | |
map t :tabnew<cr> | |
map H goBack | |
map L goForward | |
} | |
site '*://*.reddit.com/*' { | |
unmapAll | |
map w :new<cr> | |
map t :tabnew<cr> | |
} | |
site '*://*.inoreader.com/*' { | |
unmapAll | |
map w :new<cr> | |
map t :tabnew<cr> | |
} | |
site '*://*.trello.com/*' { | |
unmap <C-v> | |
} | |
This file contains hidden or 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
function! g:PushCvimConfig() | |
call Ave#Util#AttemptWriteAll() | |
call Ave#Process#StartExternalAsync('gitacp.bat', 0, 0, 1) | |
endfunction | |
nnoremap <buffer> \u :call g:PushCvimConfig()<cr> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment