Skip to content

Instantly share code, notes, and snippets.

@aculich
Last active April 9, 2020 12:11
Show Gist options
  • Select an option

  • Save aculich/809f52ff5bac079d3af2 to your computer and use it in GitHub Desktop.

Select an option

Save aculich/809f52ff5bac079d3af2 to your computer and use it in GitHub Desktop.
a CVim (old) configuration that makes me happy because it fits my working style
set numerichints
set typelinkhints
set sortlinkhints
set noautofocus
set nosmoothscroll
set regexp
set smartcase
set incsearch
set cncpcompletion
map h previousTab
map l nextTab
map <C-r> openSearchBarReverse
unmap <C-s>
map <C-s> openSearchBar
map s openSearchBar
map gx4 closeTabsToRight
map <M-S-X> closeTabsToLeft
unmap p
map p previousSearchResult
map F createHint
map f createTabbedHint
map <C-f> createMultiHint
map <Enter> nextSearchResult
map ; scrollFullPageUp
map h previousTab
map l nextTab
unmap x
map w closeTab
" map i createHint
" map I insertMode
map H :history
map u goBack
map U goForward
map <C-M--> :tabdetach
map <C-M-=> :tabattach
map <C-1> :tabattach 1
map <C-2> :tabattach 2
map <C-3> :tabattach 3
map <C-4> :tabattach 4
map <C-5> :tabattach 5
map gb :buffer<Space>
map B :bookmarks<Space>
map b :buffer<Space>
let previousmatchpattern = "((?!last)(prev(ious)?|newer|back|〈|«|less|<|‹| )+)"
let nextsmatchpattern = "((?!first)(next|older|more|〉|>|›|»|forward| )+)"
let blacklists = []
site '*://*.reddit.com/*' {
unmap j
unmap k
set numerichints
call insertMode
}
site 'https://*.google.com/*' {
call insertMode
}
site 'https://app.asana.com/*' {
call insertMode
}
site 'http://localhost/*' {
call insertMode
}
site 'http://127.0.0.1/*' {
call insertMode
}
site 'https://berkeley.service-now.com/*' {
call insertMode
}
@aculich
Copy link
Author

aculich commented Oct 25, 2014

.cVim-link-hint {
border-radius: 2px;
color: #000;
padding: 2px !important;
font-size: 7pt !important;
font-weight: 120 !important;
display: inline-block !important;
border: 1px solid #ccc;
vertical-align: middle !important;
text-align: center !important;
box-shadow: 2px 2px 1px rgba(0,0,0,0.25) !important;
position: absolute !important;
transition: opacity 0.2s ease-out, background 0.2s ease-out;
background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(255, 247, 133)), to(rgb(255, 197, 66)));
}

@aculich
Copy link
Author

aculich commented Dec 27, 2015

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