Created
July 22, 2014 09:06
-
-
Save hiroaki-yamamoto/644e8147eb218addfdb9 to your computer and use it in GitHub Desktop.
vimrc that I'm usually using
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
" All system-wide defaults are set in $VIMRUNTIME/archlinux.vim (usually just | |
" /usr/share/vim/vimfiles/archlinux.vim) and sourced by the call to :runtime | |
" you can find below. If you wish to change any of those settings, you should | |
" do it in this file (/etc/vimrc), since archlinux.vim will be overwritten | |
" everytime an upgrade of the vim packages is performed. It is recommended to | |
" make changes after sourcing archlinux.vim since it alters the value of the | |
" 'compatible' option. | |
" This line should not be removed as it ensures that various options are | |
" properly set to work with the Vim-related packages. | |
runtime! archlinux.vim | |
" If you prefer the old-style vim functionalty, add 'runtime! vimrc_example.vim' | |
" Or better yet, read /usr/share/vim/vim72/vimrc_example.vim or the vim manual | |
" and configure vim to your own liking! | |
if has('mouse') | |
set mouse=a | |
endif | |
if &t_Co >2 || has("gui_running") | |
syntax on | |
set hlsearch | |
endif | |
set backupdir=${HOME}/vibackup | |
set backup | |
set expandtab | |
set number | |
set smartindent | |
set tabstop=4 | |
set shiftwidth=4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment