Last active
October 13, 2018 07:00
-
-
Save pddg/004f2089b5210f3581ceb9b91be1d776 to your computer and use it in GitHub Desktop.
cVim configurations
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
set noautofocus | |
set smoothscroll | |
set typelinkhints | |
let searchlimit = 30 | |
let scrollstep = 100 | |
set nativelinkorder | |
" set showtabindices | |
set completeonopen | |
let locale = "jp" | |
let mapleader = "," | |
command g tabnew google | |
let completionengines = ["google", "amazonjp"] | |
let searchengine amazonjp = "https://www.amazon.co.jp/s/&field-keywords=%s" | |
let searchalias g = "google" | |
let searchalias a = "amazonjp" | |
let barposition = "bottom" | |
let hintcharacters = "asdfghjklqwertyuiop" | |
let qmark m = ["https://inbox.google.com/u/0/?cid=imp"] | |
unmap J | |
map J nextTab | |
unmap K | |
map K previousTab | |
let blacklists = ["https://inbox.google.com/*"] | |
iunmapAll | |
" yank '%title% - %url%' | |
copyTitleUrl() -> {{ | |
RUNTIME('getRootUrl', function(url) { | |
let ret = document.title + " - " + url; | |
Clipboard.copy(ret); | |
Status.setMessage(ret, 2); | |
}); | |
}} | |
map yt :call copyTitleUrl<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment