-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.vimrc.basic
More file actions
27 lines (24 loc) · 1.2 KB
/
Copy path.vimrc.basic
File metadata and controls
27 lines (24 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
"###############################################################
" 基本設定
"###############################################################
set mouse=n "ノーマルモードでマウスを使えるようにする
set updatetime=180 "vimの処理タイミングを制御
set clipboard=unnamed "クリップボード連携"
set scrolloff=5 "スクロール時の余白確保
set showmode "現在のモードを表示する
set showcmd "コマンドをステータス行に表示する
set notitle
set lazyredraw "コマンド実行中は再描画しない
set ttyfast "ターミナル接続を高速にする
set wildmenu "コマンドライン補完を便利に
"File関連{"
set autoread "書き換えがあった場合自動で読みなおす
set hidden "編集中でも他のファイルを開けるように
set noswapfile "スワップファイルを作らない
set nobackup
autocmd BufWritePre * :%s/\s\+$//ge "保存時に行末の空白を除去する
"}
"行頭行末の左右移動で行をまたぐ{
set backspace=start,eol,indent
set whichwrap=b,s,h,l,<,>,[,]
"}