Created
April 30, 2017 09:37
-
-
Save tomoyk/36991282c73a3950f828c93855ea80c2 to your computer and use it in GitHub Desktop.
Vimの設定
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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 backspace=2 " more powerful backspacing | |
" add 2016/03/21 | |
set expandtab | |
set tabstop=2 | |
set shiftwidth=2 | |
set softtabstop=2 | |
set autoindent | |
set smartindent | |
set showmatch | |
set number | |
set ruler | |
set cursorline | |
set hlsearch | |
set visualbell | |
" Don't write backup file if vim is being called by "crontab -e" | |
au BufWrite /private/tmp/crontab.* set nowritebackup nobackup | |
" Don't write backup file if vim is being called by "chpass" | |
au BufWrite /private/etc/pw.* set nowritebackup nobackup | |
" add 2017/03/20 | |
colorscheme molokai | |
syntax on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment