複数回Undoなど
set nocompatible " Use Vim defaults (much better!)
シンタックスハイライト
" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running") || &term == "xterm" || &term == "kterm"
syntax on
set hlsearch
endif
文字コードの認識。順番は変更の余地ありかも。
set fencs=iso-2022-jp,utf-8,utf-16
適切に~/.vimrcを設定すれば大丈夫 (スコア:1)
以下、vimrcのサンプル。
複数回Undoなど
set nocompatible " Use Vim defaults (much better!)
シンタックスハイライト
" Switch syntax highlighting on, when the terminal has colors
" Also switch on highlighting the last used search pattern.
if &t_Co > 2 || has("gui_running") || &term == "xterm" || &term == "kterm"
syntax on
set hlsearch
endif
文字コードの認識。順番は変更の余地ありかも。
set fencs=iso-2022-jp,utf-8,utf-16
-- Che Che - Bye Bye
Re:適切に~/.vimrcを設定すれば大丈夫 (スコア:1)
わ、どうもありがとうございます!
おかげでものすごく使いやすくなりました。嬉しい。
gvimは使いそうに無いので、とりあえず手元のvimは--enable-xim無しで行く事にします。