5
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

秀丸を使ってた人が入れておいたほうが楽なWindowsのGVimの設定

5
Posted at

GVim自体は、香り屋さんのGVim
http://www.kaoriya.net/software/vim
それプラス、秀丸を使っていた人が同じ感じでGVimを使うのに必要そうな設定。
このファイルをgvim.exeの隣に置く。なお内容はWindows7向け。

vimrc_local.vim
" カレントディレクトリ設定
cd C:\Users\username

"Windowsクリップボードの共有
set clipboard=unnamed

"Tabのスペース数
set tabstop=2

"行数表示
set number

"スワップ、バックアップファイルの作成場所を設定
set backupdir=C:\Users\username\vimtmp
set directory=C:\Users\username\vimtmp

"新しい行を開始したときに、新しい行のインデントを現在行と同じ量にする
set autoindent

"勝手に改行を行わない
set tw=0
5
6
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
5
6

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?