Last active
February 26, 2017 22:20
-
-
Save bimlas/13177a94120b87a6dac5 to your computer and use it in GitHub Desktop.
cVim (Chrome Vim extension) config file
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
" Don't forget to start cvim_server.py | |
" https://github.com/1995eaton/chromium-vim/blob/master/cvim_server.py | |
" Remember: sync in cVim does not updates gist, but overrides local settings. | |
let hintcharacters = "asdfghjkluiopqwer" | |
set nosmoothscroll | |
let barposition = "bottom" | |
let completionengines = ["google"] | |
" Default Google search locale. | |
let locale = "hu" | |
" Use <C-N> and <C-P> to cycle through completion results. | |
" Requires you to set the nextCompletionResult keybinding in the chrome://extensions page (bottom right) | |
set cncpcompletion | |
" Disallows websites to automatically focus an input box when they are first loaded | |
set noautofocus | |
" Display the tab index in the tab’s title | |
set showtbindices | |
" Search | |
set regexp | |
set ignorecase | |
set smartcase | |
" Functions to use in mappings | |
" Script hints | |
echo(link) -> {{ | |
alert(link.href); | |
}} | |
map <C-k> <Esc> | |
imap <C-k> <Esc> | |
map s createHint | |
map gs createTabbedHint | |
map <C-s> createScriptHint(echo) | |
map <Space>ff :open<Space> | |
map <Space>ft :tabnew<Space> | |
map <C-l> :nohlsearch<CR> | |
map <C-u> scrollPageUp | |
map <C-d> scrollPageDown | |
map <C-e> nextTab | |
map <C-y> previousTab | |
imap <C-i> editWithVim | |
" Text Area | |
" iunmapAll |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment