Skip to content

Instantly share code, notes, and snippets.

@averrin
Last active July 27, 2016 14:46
Show Gist options
  • Save averrin/6cfa0bedc8bda36a6136c00dcd1aae5f to your computer and use it in GitHub Desktop.
Save averrin/6cfa0bedc8bda36a6136c00dcd1aae5f to your computer and use it in GitHub Desktop.
cvim.rc
let hintcharacters = "asdfghjkl"
set smoothscroll
let scrollstep = 180
set noautofocus
set cncpcompletion
map <C-;> B
map о j
map л k
map е t
site '*://bazqux.com/*' {
unmap j
unmap k
unmap o
unmap i
unmap J
unmap K
unmap O
unmap I
unmap A
unmap v
unmap r
unmap n
unmap p
unmap N
unmap P
}
let blacklists = ["http://sdether.github.io/*","http://vim-adventures.com/*","https://www.shortcutfoo.com/*","http://klava.org/*"]
#cVim-link-container, .cVim-link-hint, #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, #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 {
font-weight: bolder !important;;
position: absolute;
color: #eee !important;
background-color: #232323 !important;
border-radius: 2px !important;
padding: 2px !important;
font-size: 8pt !important;
font-weight: 500 !important;
text-transform: uppercase !important;
border: 1px solid #444;
display: inline-block !important;
vertical-align: middle !important;
text-align: center !important;
box-shadow: 2px 2px 1px rgba(0,0,0,0.25) !important;
}
.cVim-link-hint_match {
font-weight: bolder !important;
color: #30f739 !important;;
text-transform: uppercase !important;
}
#cVim-command-bar {
position: fixed !important;
z-index: 2147483646 !important;
background-color: #1b1d1e !important;
color: #bbb !important;
display: none;
box-sizing: content-box !important;
box-shadow: 0 3px 3px rgba(0,0,0,0.4);
left: 0 !important;
width: 100% !important;
height: 20px !important;
}
#cVim-command-bar-mode {
display: inline-block;
vertical-align: middle;
box-sizing: border-box !important;
padding-left: 2px !important;
height: 100% !important;
width: 10px !important;
padding-top: 2px !important;
color: #888 !important;
}
#cVim-command-bar-input {
background-color: #1b1d1e !important;
color: #bbb !important;
height: 100% !important;
right: 0 !important;
top: 0 !important;
width: calc(100% - 10px) !important;
position: absolute !important;
}
#cVim-command-bar-search-results {
position: fixed;
width: 100% !important;
overflow: hidden;
z-index: 2147483647 !important;
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 .cVim-left {
color: #fff;
width: 37%;
}
.cVim-completion-item .cVim-right {
font-style: italic;
color: #888;
width: 57%;
}
#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;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment