Skip to content

Instantly share code, notes, and snippets.

@tomoyk
Created April 30, 2017 09:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomoyk/36991282c73a3950f828c93855ea80c2 to your computer and use it in GitHub Desktop.
Save tomoyk/36991282c73a3950f828c93855ea80c2 to your computer and use it in GitHub Desktop.
Vimの設定
" 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