Skip to content

Instantly share code, notes, and snippets.

@Kerruba
Last active February 14, 2017 09:37
Show Gist options
  • Save Kerruba/da0cf07351ae3d49f05c3feaf966b34f to your computer and use it in GitHub Desktop.
Save Kerruba/da0cf07351ae3d49f05c3feaf966b34f to your computer and use it in GitHub Desktop.
cvim config
" Settings - Mouseless
set barposition "bottom"
set nosmoothscroll
set noautofocus " The opposite of autofocus; this setting stops
" sites from focusing on an input box when they load
set typelinkhints
let searchlimit = 30
let scrollstep = 70
let barposition = "bottom"
let mouselesshintcharacters = "1234"
command t tabnew
command n new
command fl tabnew chrome://flags
let mapleader = ","
" Mappings
map <Leader>r reloadTabUncached
map <Leader>ra reloadAllTabs
map <Leader>d :duplicate<CR>
@Kerruba
Copy link
Author

Kerruba commented Feb 14, 2017

Here if you want you can find also the CSS for new style

#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:  #33adff;*/
  color: #444;
  display: none;
  box-sizing: content-box;
  box-shadow: 0 3px 3px rgba(0,0,0,0.4);
  left: 0;
  width: 100%;
  height: 20px;
  border-top: 1px solid #ccc;
}

#cVim-command-bar-mode {
  display: inline-block;
  vertical-align: middle;
  box-sizing: border-box;
  background-color: #f2f2f3;
  color: #f2f2f3;
  width: 0; 
  height: 0; 
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent; 
  border-left:5px solid #919191;
}

#cVim-command-bar-input {
  background-color: #f2f2f3;
  color: #222;
  height: 100%;
  right: 0;
  top: 0;
  width: calc(100% - 12px);
  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;*/
  background-color: #f2f2f3
}

.cVim-completion-item {
  width: 100%; left: 0;
  color: #222;
  background-color: #d2d2d3
}

.cVim-completion-item[active] {
  width: 100%; left: 0;
  color: #1b1d1e;
  /*background-color: #f1f1f1;*/
  background-color: yellow; 
}

.cVim-completion-item[active] span {
  color: #1b1d1e;
}

.cVim-completion-item .cVim-left {
  color: #222;
  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: #302505 !important;
  background-color: #ffd76e !important;
  border-radius: 2px !important;
  padding: 2px !important;
  font-size: 8pt !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: 2px 2px 1px rgba(0,0,0,0.25) !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;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment