Last active
April 23, 2021 02:00
-
-
Save dohq/5c8feafbcc12b651f31d to your computer and use it in GitHub Desktop.
cvimrc
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
" change default search engine | |
" unmap t | |
" map t :tabnew duckduckgo<space> | |
"Settings | |
let barposition = "top" | |
let blacklists = ["https://*.vultr.com/*", "https://docs.google.com/*", "https://*.qmk.fm/*", "https://thetypingcat.com/*", "https://remotedesktop.google.com/*"] | |
let fullpagescrollpercent = 100 | |
let hintcharacters = "asdfghjkl" | |
let locale = "jp" | |
let mapleader = "," | |
let scrollstep = 70 | |
set autohidecursor | |
set autoupdategist | |
set autoupdategist | |
set noautofocus | |
set smoothscroll | |
" qmarks | |
" google mail/task/calendar | |
let qmark m = ["https://mail.google.com"] | |
let qmark t = ["https://mail.google.com/tasks/canvas"] | |
let qmark c = ["https://www.google.com/calendar"] | |
" google translator en/ja/language tool | |
let qmark l = ["http://www.google.com/language_tools"] | |
" Feedly/Pocket/GitHub | |
let qmark f = ["http://cloud.feedly.com/#latest"] | |
let qmark p = ["http://getpocket.com/a/queue/"] | |
let qmark g = ["http://github.com/dohq"] | |
" Qiita | |
let qmark q = ["http://qiita.com"] | |
" Move | |
map <C-h> scrollLeft | |
map <C-j> scrollDown | |
map <C-k> scrollUp | |
map <C-l> scrollRight | |
map <C-u> scrollPageUp | |
map <C-d> scrollPageDown | |
map gg scrollToTop | |
map G scrollToBottom | |
" Navigation | |
map :wo :new<Space> | |
map ;wo :new<Space> | |
map <C-i> goForward | |
map <C-n> nextTab | |
map <C-o> goBack | |
map <C-p> previousTab | |
map R reloadTabUncached | |
map b :bookmark!<Space> | |
map d closeTab | |
map u lastClosedTab | |
" Yank current url | |
map y yankDocumentUrl | |
" Yank current selected word and search it | |
map <C-g> :execute vP<CR> | |
" Open command line with ; | |
map ; : | |
" Disable all mappings in Text boxes | |
iunmapAll |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment