Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
""ヒントモード
set hintchars=ifjklasdweuocvbnm
highlight Hint z-index:5000; font-family:monospace; font-size:15px; color:white; background-color:blue; border-color:ButtonShadow; border-width:0px; border-style:solid; padding:0px 1px 0px 1px; position:absolute; text-transform: uppercase;
""jk移動の距離
noremap j 10<C-e>
noremap k 10<C-y>
""C-n C-p移動
noremap <C-n> 5<C-e>
noremap <C-p> 5<C-y>
"J/Kでタブ移動(ツリー型タブなので上下移動)
noremap K gT
noremap J gt
":と;のいれかえ
noremap ; :
"noremap : ;
"閉じたタブ履歴から補完
noremap ,u :undo<Space>
"Shift + Control + j,k でタブ位置変更
"KeyRemap4Macとの併用設定
map <S-Up> :tabmove! -1<CR>
map <S-Down> :tabmove! +1<CR>
"BackSpaceで戻るを無効化
map <BS> <Nop>
""GかgでGoogle検索
map ,g :open<space>google<space>
map ,G :tabopen<space>google<space>
"ヴィジュアルモードでもカーソル上下移動をj,kで
vnoremap j <Down>
vnoremap k <Up>
"ブラウザタイトル
"set titlestring="Mozilla Firefox 4"
"ダウンロードウィンドウを完了後自動で閉じる
"set! browser.download.manager.closeWhenDone=true
"ダウンロード履歴をFirefox終了時に削除
"set! browser.download.manager.retention=1
"アドオンインストール時の待ち時間カット
set! security.dialog_enable_delay=0
"JavaScriptでのウィンドウ移動・リサイズ拒否
"set! dom.disable_window_move_resize=true
"JavaScriptのステータスバー操作を無効化
"set! dom.event.contextmenu.enabled=false
"ビープ音無効・ビジュアルレベル使用
set visualbell
"hi Bell opacity: .5;
"リンクの色 (set linkbgcolor=aqua)
highlight HintElem background-color:aqua;
" ==VimperatorColorSchema==
" name: Sweets enhanced by dita. (Based on 'sweets_snaka')
" ==/VimperatorColorSchema==
"hi Hint font-family: monospace; font-size: 15px; font-weight: normal; color: lightyellow; background-color: black; border-color: ButtonShadow; border-width: 0px; border-style: solid; padding: 0px 5px 0px 5px;
"hi HintElem background-color: pink; color: black;
hi HintActive background-color: hotpink; color: white;
"hi StatusLine color: CornflowerBlue; background: #000; font-weight: normal; font-size: 12pt;
"hi StatusLineBroken color: black; background: #ffa0a0; font-weight: normal; font-size: 12pt;
"hi StatusLineExtended color: black; background: #a0ffa0; font-weight: normal; font-size: 12pt;
"hi StatusLineSecure color: black; background: #a0a0ff; font-weight: normal; font-size: 12pt;
hi Normal color: LightYellow; background: #333; font-size: 12pt;
hi CmdLine color: LightYellow; background: #333; font-size: 14pt;
hi InfoMsg color: LightYellow; background: #333; font-size: 12pt;
hi ModeMsg color: LightYellow; background: #333; font-size: 12pt;
hi MoreMsg color: LimeGreen; background: #333;
hi LineNr color: DeepPink; background: #333; font-size: 12pt;
hi Question color: Yellow; background:#333; font-size: 12pt;
hi WarningMsg color: DeepPink; background:#333; font-size: 12pt;
hi ErrorMsg color: white; background: red; font-size: 12pt;
hi NonText background: #333;
hi Null color: CornflowerBlue;
hi Tag color: CornflowerBlue;
hi CompTitle color: magenta; background: #222; font-weight: bold;
hi CompItem[selected] color: DeepPink; background: Black;
hi CompDesc color: Pink;
hi Title color: white;
hi Indicator color: DodgerBlue;
hi String color: Orchid;
hi Number color: Orchid;
hi Object color: Khaki;
hi Function color: SkyBlue;
hi URL color: LightGreen;
"hi TabNumber color: white; font-weight: bold; font-size:10pt;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment