Skip to content

Instantly share code, notes, and snippets.

@mtdtks mtdtks/cVimrc.vim
Last active Mar 31, 2019

Embed
What would you like to do?
chromeのcVimの社内用セッティング
"==={general}===
let scrollstep = 150
let fullpagescrollpercent = 100
"set nohud
"set autohidecursor
"eで検索窓へ
map e goToInput
"open link in new tab (active)
map F createActiveTabbedHint
"スムーズスクロール
set smoothscroll
"開いた時のフォーカスを無効
set noautofocus
"==={keybind}===
"戻る、進む
map <C-i> goForward
map <C-o> goBack
"r でURLバーにフォーカス @動かない
map r <A-d>
"e で入力フォームにカーソル移動
map e goToInput
"d でタブを閉じる
map d closeTab
"u で閉じたタブを復元
map u lastClosedTab
"Ctrl-g で選択した文字を検索する
map <C-g> :execute vyP<CR>
"リロード
map R reloadTabUncached
"一画面文移動
map <C-d> scrollFullPageDown
map <C-u> scrollFullPageUp
"Fで新しいタブで開くヒントモード
map F createActiveTabbedHint
"==={Tab Navigation}===
map d closeTab
map h previousTab
map l nextTab
map ga firstTab
map ge lastTab
map gh closeTabLeft
map gl closeTabRight
"==={qmark}===
"gn* で新しいタブで設定したページを開く
"go* で既存のタブに設定したページを開く
"例文:let qmark * = ["URL"]
"app
let qmark a = ["chrome://apps/"]
"サイボウズLive
let qmark c = ["https://cybozulive.com/"]
"Googleドライブ
let qmark d = ["https://drive.google.com/drive/my-drive"]
"Googleカレンダー
let qmark C = ["https://calendar.google.com/calendar"]
"Googleアカウントログアウト
let qmark l = ["https://accounts.google.com/Logout?"]
"拡張機能の設定に行く
let qmark E = ["chrome://extensions/"]
"雨雲レーダー
let qmark y = ["http://weather.yahoo.co.jp/weather/zoomradar/"]
"Twitter
let qmark t = ["https://twitter.com/"]
"cVim設定
let qmark v = ["chrome-extension://ihlenndgcmojhcghmfjfneahoeklbjjh/pages/options.html"]
"Chrome設定
let qmark s =["chrome://settings/"]
"ZIZAI
let qmark z = ["https://www.kosho.or.jp/koshoadmin/"]
"extentions
let qmark X = ["chrome://extensions/"]
"googleDrive
let qmark d = ["https://drive.google.com/drive/my-drive"]
"==={search}===
"デフォルトエンジンの設定
let locale = "jp"
" completionengines
let completionengines = ["google"]
" defaultengine
let defaultengine = "google.co.jp"
"検索設定
" a でアマゾンを検索
" Amazon
let searchengine amazon = "https://www.amazon.co.jp/s/ref=nb_sb_noss_2?__mk_ja_JP=%s&url=search-alias%3Daps&field-keywords=%s"
let searchalias a = "amazon"
" n で日古を検索
let searchengine kosho = "https://www.kosho.or.jp/products/list.php?transactionid=ffe90b288f1fd144dbc670f1f5fc350eadd40256&mode=search_retry&pageno=&search_pageno=1&product_id=&reset_baseinfo_id=&baseinfo_id=&product_class_id=&quantity=1&from_mode=&search_facet_publisher=&search_word=%s&search_name=&search_name_matchtype=like&search_author=&search_author_matchtype=like&search_publisher=&search_publisher_matchtype=like&search_isbn=&search_published_year_min=&search_published_year_max=&search_comment4=&search_comment4_matchtype=like&search_book_flg=&search_price_min=&search_price_max=&search_only_has_stock=1&search_orderby=price&search_sorttype=asc&search_page_max=20&search_image_disp="
let searchalias n = "kosho"
"ms でまつおか書房の在庫を日古で検索
let searchengine kosho_matsuoka = "https://www.kosho.or.jp/products/list.php?transactionid=ffe90b288f1fd144dbc670f1f5fc350eadd40256&mode=search&baseinfo_id=12031760&search_only_has_stock=1&search_word=%s"
let searchalias ms = "kosho_matsuoka"
"検索短縮
let searchalias js = "javascript"
let searchalias gas = "googleappscript"
let searchalias vimp = "vimperator"
let searchalias gss = "googleスプレッドシート"
let searchalias il = "illustrator"
let searchalias id = "indesign"
"==={Hint a Hit}===
"f キーのリンクの文字設定
"真ん中らへんのキーで設定した
let hintcharacters = "fjrutygheidkws"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.