最終更新: t_tonosama 2012年09月03日(月) 12:28:53履歴
vimは少ししか使えないけどしっかり使いこなせるようになりたい。
というわけで設定をしないと
で、設定したのでメモメモ。
まだまだ設定たりないと思うし、綺麗にまとめきれてないけどとりあえずです。
.vimrcをいじります
というわけで設定をしないと
で、設定したのでメモメモ。
まだまだ設定たりないと思うし、綺麗にまとめきれてないけどとりあえずです。
.vimrcをいじります
" Configuration file for vim set modelines=0 " CVE-2007-2438 " Normally we use vim-extensions. If you want true vi-compatibility " remove change the following statements set nocompatible " Use Vim defaults instead of 100% vi compatibility set backspace=2 " more powerful backspacing " Don't write backup file if vim is being called by "crontab -e" au BufWrite /private/tmp/crontab.* set nowritebackup " Don't write backup file if vim is being called by "chpass" au BufWrite /private/etc/pw.* set nowritebackup "行番号の表示 set number "新しい行のインデントを現在行と同じにする set autoindent "インクリメンタルサーチ設定 set incsearch "タブ文字、行末など不可視文字を表示 "set list "閉じ括弧が入力されたとき、対応する括弧を表示する set showmatch "新しい行をつくったときに高度なインデントを行う set smartindent "シフト移動幅 set shiftwidth=4 "カーソルを行頭、行末で止まらないようにする set whichwrap=b,s,h,l,<,>,[,] "モード表示 set showmode "ルーラーの表示 set ruler "カラー表示 syntax on "タブの代わりに空白文字挿入 set expandtab "タブは半角4文字分のスペース set ts=4 sw=4 sts=0 "全てのモードでマウスが有効 set mouse=a "タイトルを表示 set title "バックアップ不要 set nobackup "ビープ音 ビジュアルベルを使用しない set vb t_vb= "クリップボードの共有 あってるか微妙・・・ set clipboard+=autoselect set clipboard+=unnamed||=
このページへのコメント
NMbqyI wow, awesome blog article.Much thanks again. Great.
9xnVg5 <a href="http://fucxepcrzmja.com/">fucxepcrzmja</a>, [url=http://wzuieyffdyqg.com/]wzuieyffdyqg[/url], [link=http://vksucecbnapy.com/]vksucecbnapy[/link], http://yooprjduezlv.com/