Last active
January 23, 2016 11:37
-
-
Save pablospe/de3715fd3f0084cfe8ed to your computer and use it in GitHub Desktop.
cVim Options
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
let barposition = "top" | |
" Scroll | |
set smoothscroll | |
let scrollstep = 70 | |
let scrollduration = 45 | |
let locale = "us" | |
let hintcharacters = "abcde123456grstqwxz" | |
"set noautofocus " The opposite of autofocus; this setting stops | |
" sites from focusing on an input box when they load | |
" Undo | |
map z lastClosedTab | |
" Tabs (or change it here: chrome://extensions/configureCommands) | |
map <A-l> previousTab | |
map <A-;> nextTab | |
imap <A-l> previousTab | |
imap <A-;> nextTab | |
" insert mode (change ctrl+w behavior in: chrome://extensions/configureCommands) | |
" remember Wasavi extension (ctrl+space) | |
iunmap <C-l> | |
iunmap <C-k> | |
iunmap <C-f> | |
"imap <C-f> forwardWord | |
imap <C-b> backwardWord | |
imap <C-h> deleteChar | |
" Left hand navigation | |
map d scrollDown | |
map s scrollUp | |
map w scrollLeft | |
map e scrollRight | |
" remember H and L for history navigation | |
map <A-a> goBack | |
imap <A-a> goBack | |
map <A-s> goForward | |
imap <A-s> goBack | |
" Page scrolling | |
map <C-d> scrollPageDown | |
map <C-u> scrollPageUp | |
imap <C-d> <Esc>scrollPageDown | |
imap <C-u> <Esc>scrollPageUp | |
" Marks (it doesn't work??). Use ';<*>' instead | |
"map m<*> setMark | |
map <C-`> lastUsedTab | |
imap <C-`> lastUsedTab | |
" <Leader> | |
let mapleader = "," | |
map <Leader>r reloadTabUncached | |
map <Leader>q closeTab | |
map <Leader>x closeTab | |
map <Leader>z lastClosedTab | |
map <Leader>h :history<Space> | |
map <Leader>b :bookmarks<Space> | |
map <leader>t :buffer<Space> | |
map <leader>a :tabnew<Space>amazon<Space> | |
map <leader>g :tabnew<Space>google<Space> | |
map <leader>y :tabnew<Space>youtube<Space> | |
map <leader>i :set numerichints!<CR> | |
" 't' for search in github | |
site '*://*github.com/*' { | |
unmap t | |
} | |
" blacklists prefixed by '@' act as a whitelist | |
let blacklists = ["*://mail.google.com/*"] | |
site '*://*youtube.com/*' { | |
unmap f " it is used for fullscreen | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
" Marks (it doesn't work??)
map m<*> setMark
This is also my experience. I also tried (unsuccessfully):
map m setMark