Last active
December 11, 2019 10:43
-
-
Save kkkw/1dd46878fb81e385670cca8d0dbdfd51 to your computer and use it in GitHub Desktop.
cvimrc.vim
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
" # general | |
set autoupdategist " gistの設定を自動反映 | |
let scrollstep = 150 | |
let fullpagescrollpercent = 100 | |
set smoothscroll | |
set noautofocus " サイトを開いた時に入力欄にフォーカスが奪われるのを抑止 | |
let searchlimit = 20 | |
let barposition = "bottom" | |
let locale = "jp" | |
let completionengines = ["google"] | |
let defaultengine = "google.co.jp" | |
" # key mappings | |
" map h previousTab | |
" map l nextTab | |
" map d closeTab | |
" map u lastClosedTab | |
map b :buffer | |
map B :bookmarks | |
" # qmark | |
" gn* で新しいタブで設定したページを開く | |
" go* で既存のタブに設定したページを開く | |
" let qmark l = ["http://reader.aol.com/#category/Subscriptions"] | |
" let qmark m = ["https://mail.google.com/mail/u/0/"] | |
" let qmark M = ["https://moneyforward.com/"] | |
site 'https://github.com/*' { | |
unmap b | |
set numerichints | |
} | |
copyTitleUrlM() -> {{ | |
RUNTIME('getRootUrl', function(url) { | |
let ret = "[" + document.title + "](" + url + ")"; | |
Clipboard.copy(ret); | |
Status.setMessage(ret, 2); | |
}); | |
}} | |
map <Leader>m :call copyTitleUrlM<CR> | |
let configpath = '~/.cvimrc' | |
set localconfig | |
" 参考 | |
" https://gist.github.com/nozma/c0417ffae4aeff5ff76ba6538e51f76a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment