-
-
Save aberezin/0ee9c5e6354996849d3b0bcb50c6e29c to your computer and use it in GitHub Desktop.
.cvim
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
" Canonical is at https://gist.github.com/aberezin/0ee9c5e6354996849d3b0bcb50c6e29c" | |
" This didnt work for me so lets just manually synch with the gist above | |
" let configpath = '/Users/aberezin/.cvimrc' | |
" set localconfig | |
" ccim_server in ~/bin needs to be run mannually for now. Maybe make a | |
" service | |
set noautofocus | |
set autoupdategist | |
let barposition = "bottom" | |
let scrollstep = 350 | |
set nosmoothscroll | |
set noautofocus | |
let hintcharacters = "asdfjkl" | |
let blacklists = ["https://mail.google.com/*", "*://mail.google.com/*", "*://feedly.com/*", "*://*/*.pdf"] | |
map gg :open<Space> | |
map <A-g> :open!<Space> | |
map bb :bookmarks<Space> | |
map <A-b> :bookmarks!<Space> | |
map <C-g> :execute <Esc> | |
" Navigation | |
unmap f | |
unmap mf | |
map h createHint | |
map mh createMultiHint | |
map <A-h> createTabbedHint | |
" Motion command | |
unmap e | |
unmap s | |
map j scrollLeft | |
map l scrollRight | |
map i scrollPageUp | |
map k scrollPageDown | |
map u scrollToTop | |
map o scrollToBottom | |
map <Left> scrollLeft | |
map <Right> scrollRight | |
map <Up> scrollPageUp | |
map <Down> scrollPageDown | |
map <Home> scrollToTop | |
map <End> scrollToBottom | |
let completionengines = ["google"] | |
let searchengine Google = "https://www.google.com/search?q=%s" | |
let searchengine GMail = "https://mail.google.com/mail/u/0/#search/%s" | |
let searchengine GoogleMaps = "https://www.google.it/maps?q=%s" | |
" " Create a shortcut for search engines. For example, typing ':tabnew | |
" " g example' would act the same way as ':tabnew google example' | |
let searchalias g = "Google" | |
let searchalias mail = "GMail" | |
let searchalias maps = "GoogleMaps" | |
let qmark n = ["http://ici.radio-canada.ca/info", "http://www.lapresse.ca/", "https://news.ycombinator.com/news", "https://github.com/stars?direction=desc&sort=updated"] | |
map <C-d> scrollPageDown | |
map <C-u> scrollPageUp | |
map <C-f> scrollFullPageDown | |
map <C-b> scrollFullPageUp | |
map u lastClosedTab | |
map O :tabnew<Space> | |
map o :open<Space> | |
map B :bookmarks!<Space> | |
map dd closeTab | |
imap <C-o> editWithVim | |
imap <Home> beginningOfLine | |
imap <End> endOfLine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment