0
0

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 1 year has passed since last update.

vimの設定メモ

Posted at

vimの設定メモ。

_vimrc

set ai
set nu
set sw=4
set ts=4

自動生成されるファイルの抑制

"アンドゥファイルを作成しない。
set noundofile
"バックアップファイルを作成しない。
set nobackup
"スワップファイルを作成しない。
set noswapfile
"viminfoファイルを作成しない。
set viminfo=

文字コード自動判別

"文字コード自動判別
set encoding=utf-8
set fileencodings=utf-8,sjis,euc-jp,iso-2022-jp

改行コードの自動認識

"改行コードの自動認識
set fileformats=unix,dos,mac

ステータスバーを非表示にする。

"ステータスバーを非表示にする。
set laststatus=0

拡張子別に色テーマを設定

autocmd FileType text colorscheme morning
autocmd FileType markdown colorscheme darkblue

_gvimrc

フォント

set guifont=MS_ゴシック:h12
0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?