Skip to content

Instantly share code, notes, and snippets.

@tyochiai
Last active August 29, 2015 14:13
Show Gist options
  • Save tyochiai/3b16bd4dd08a5eb6f01b to your computer and use it in GitHub Desktop.
Save tyochiai/3b16bd4dd08a5eb6f01b to your computer and use it in GitHub Desktop.
simple .vimrc for Linux
"from vimrc_example
set nocompatible
set backspace=indent,eol,start
set history=50
set ruler
set incsearch
set hlsearch
syntax on
filetype plugin indent on
"from Kaoriya Vim
set ignorecase
set smartcase
set tabstop=8
set shiftwidth=4
set softtabstop=4
set expandtab
set autoindent
set wrapscan
set showmatch
set wildmenu
set formatoptions+=mM
set nonumber
set nolist
set wrap
set laststatus=2
set cmdheight=2
set showcmd
set title
"nobackup
set nobackup
set noswapfile
set noundofile
" statusline
set statusline=%<%t%m%r%h%w\ \ %{'['.(&fenc!=''?&fenc:&enc).':'.&ff.']'}%y%=\ \ %l,%c%V,\"%B\"%8P
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment