Last active
April 24, 2019 04:08
-
-
Save saylestyler/41ec409401526080338cb59b545fd3ab to your computer and use it in GitHub Desktop.
my cvimrc (inspired/copied from https://gist.github.com/marcusramberg/5761eff70d5dc49379f4)
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
set autoupdategist | |
set noautofocus | |
set nocncpcompletion | |
set smoothscroll | |
set hud | |
set noregex | |
set noinsertmappings | |
set typelinkhints | |
set defaultnewtabpage | |
let scrollduration = 10 | |
let searchlimit = 40 | |
let searchalias g = "google" | |
let mapleader = "\\" | |
let barposition = "bottom" | |
let typelinkhintsdelay = "0" | |
let hintcharacters = "asdfg" | |
map : openCommandBar | |
map l nextTab | |
map h previousTab | |
map <C-l> nextTab | |
map <C-h> previousTab | |
map <C-f> scrollFullPageDown | |
map <C-b> scrollFullPageUp | |
map F createActiveTabbedHint | |
map f createHint | |
map p openPasteTab | |
map P openPaste | |
map S :open google<Space> | |
map s :tabnew google<Space> | |
map i goToInput | |
map u lastClosedTab | |
map <C-z> toggleCvim | |
map <Leader>cl :tabopen chrome://chrome/settings/clearBrowserData<CR> | |
map <Leader>ex :tabopen chrome://extensions<CR> | |
map <Leader>gh :tabopen https://github.com/saylestyler<CR> | |
map <Leader>Gh :open https://github.com/saylestyler<CR> | |
map <Leader>gi :tabopen https://gist.github.com/saylestyler<CR> | |
map <Leader>Gi :open https://gist.github.com/saylestyler<CR> | |
map <Leader>cc :tabopen https://github.com/CodesmithLLC<CR> | |
map <Leader>tw :tabopen http://twitter.com<CR> | |
map <Leader>Tw :open http://twitter<CR> | |
map <Leader>gm :tabopen https://mail.google.com/mail/#index<CR> | |
map <Leader>Gm :open https://mail.google.com/mail/#index<CR> | |
map <Leader>so :tabopen http://stackoverflow.com<CR> | |
map <Leader>So :open http://stackoverflow.com<CR> | |
map <Leader>pi :tabopen http://pinboard.in/<CR> | |
map <Leader>Pi :open http://pinboard.in<CR> | |
map <Leader>fb :tabopen http://www.facebook.com<CR> | |
map <Leader>Fb :open http://www.facebook.com<CR> | |
map <Leader>hn :tabopen http://news.ycombinator.com/<CR> | |
map <Leader>Hn :open http://news.ycombinator.com/<CR> | |
site '*://chat.meatspac.es/*' { | |
call :pintab | |
} | |
site "https://mail.google.com/*" { | |
unmapAll | |
} |
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
#cVim-command-bar, #cVim-command-bar-mode, #cVim-command-bar-input, #cVim-command-bar-search-results, | |
.cVim-completion-item, .cVim-completion-item .cVim-full, .cVim-completion-item .cVim-left, | |
.cVim-completion-item .cVim-right { | |
font-family: Helvetica, Helvetica Neue, Neue, sans-serif, monospace, Arial; | |
font-size: 10pt !important; | |
-webkit-font-smoothing: antialiased !important; | |
} | |
#cVim-command-bar { | |
position: fixed; | |
z-index: 2147483646; | |
background-color: #1b1d1e; | |
color: #bbb; | |
display: none; | |
box-sizing: content-box; | |
box-shadow: 0 3px 3px rgba(0,0,0,0.4); | |
left: 0; | |
width: 100%; | |
height: 20px; | |
} | |
#cVim-command-bar-mode { | |
display: inline-block; | |
vertical-align: middle; | |
box-sizing: border-box; | |
padding-left: 2px; | |
height: 100%; | |
width: 10px; | |
padding-top: 2px; | |
color: #888; | |
} | |
#cVim-command-bar-input { | |
background-color: #1b1d1e; | |
color: #bbb; | |
height: 100%; | |
right: 0; | |
top: 0; | |
width: calc(100% - 10px); | |
position: absolute; | |
} | |
#cVim-command-bar-search-results { | |
position: fixed; | |
width: 100%; | |
overflow: hidden; | |
z-index: 2147483647; | |
left: 0; | |
box-shadow: 0 3px 3px rgba(0,0,0,0.4); | |
background-color: #1c1c1c; | |
} | |
.cVim-completion-item, .cVim-completion-item .cVim-full, .cVim-completion-item .cVim-left, .cVim-completion-item .cVim-right { | |
text-overflow: ellipsis; | |
padding: 1px; | |
display: inline-block; | |
box-sizing: border-box; | |
vertical-align: middle; | |
overflow: hidden; | |
white-space: nowrap; | |
} | |
.cVim-completion-item:nth-child(even) { | |
background-color: #1f1f1f; | |
} | |
.cVim-completion-item { | |
width: 100%; left: 0; | |
color: #bcbcbc; | |
} | |
.cVim-completion-item[active] { | |
width: 100%; left: 0; | |
color: #1b1d1e; | |
background-color: #f1f1f1; | |
} | |
.cVim-completion-item[active] span { | |
color: #1b1d1e; | |
} | |
.cVim-completion-item .cVim-left { | |
color: #fff; | |
width: 37%; | |
} | |
.cVim-completion-item .cVim-right { | |
font-style: italic; | |
color: #888; | |
width: 57%; | |
} | |
#cVim-link-container, .cVim-link-hint, | |
#cVim-hud, #cVim-status-bar { | |
font-family: Helvetica, Helvetica Neue, Neue, sans-serif, monospace, Arial; | |
font-size: 10pt !important; | |
-webkit-font-smoothing: antialiased !important; | |
} | |
#cVim-link-container { | |
position: absolute; | |
pointer-events: none; | |
width: 100%; left: 0; | |
height: 100%; top: 0; | |
z-index: 2147483647; | |
} | |
.cVim-link-hint { | |
position: absolute; | |
color: white !important; | |
background-color: #000CFF !important; | |
border-radius: 80px !important; | |
padding: 2px !important; | |
font-size: 20px !important; | |
font-weight: 500 !important; | |
text-transform: uppercase !important; | |
border: 1px solid #ad810c; | |
display: inline-block !important; | |
vertical-align: middle !important; | |
text-align: center !important; | |
box-shadow: 1px 1px 2px rgba(0,0,0,0.35) !important; | |
} | |
.cVim-link-hint_match { | |
color: #777; | |
text-transform: uppercase !important; | |
} | |
#cVim-hud { | |
background-color: rgba(28,28,28,0.9); | |
position: fixed !important; | |
transition: right 0.2s ease-out; | |
z-index: 24724289; | |
} | |
#cVim-hud span { | |
padding: 2px; | |
padding-left: 4px; | |
padding-right: 4px; | |
color: #8f8f8f; | |
font-size: 10pt; | |
} | |
#cVim-frames-outline { | |
position: fixed; | |
width: 100%; | |
height: 100%; | |
left: 0; | |
top: 0; | |
right: 0; | |
z-index: 9999999999; | |
box-sizing: border-box; | |
border: 3px solid yellow; | |
} | |
2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment