LoginSignup
7
8

More than 5 years have passed since last update.

gvim の設定

Last updated at Posted at 2012-04-08
if has('gui_macvim')

  set showtabline=2    " タブを常に表示
  set transparency=5   " 透明度
  set imdisable        " IME OFF
  set guioptions-=T    " ツールバー非表示
  set antialias        " アンチエイリアス
  set tabstop=4        " タブサイズ
  set number           " 行番号表示
  set nobackup         " バックアップなし
  set visualbell t_vb= " ビープ音なし

  colorscheme desert   " カラースキーマ
  set columns=100      " 横幅
  set lines=35         " 行数

  set nowrapscan       " 検索をファイルの先頭へループしない

  " 検索ハイライトをEsc2回押しで消去
  set hlsearch
  nmap <Esc><Esc> :nohlsearch<CR><Esc>

  "---------------------------------------------------------------------------
  " フォントに関する設定
  set guifontwide=Osaka:h12
  set guifont=Ricty:h12

  "---------------------------------------------------------------------------
  " カーソル設定
  set cursorline
  highlight CursorLine ctermbg=LightGrey
  highlight CursorLine ctermfg=Blue

  "---------------------------------------------------------------------------
  " マウスに関する設定:

  " ビジュアル選択(D&D他)を自動的にクリップボードへ (:help guioptions_a)
  set guioptions+=a

endif
7
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
7
8