Skip to content

Instantly share code, notes, and snippets.

@ikouchiha47
Created August 10, 2016 06:29
Show Gist options
  • Save ikouchiha47/ba011ca0091f15513a3d005bd6adee75 to your computer and use it in GitHub Desktop.
Save ikouchiha47/ba011ca0091f15513a3d005bd6adee75 to your computer and use it in GitHub Desktop.
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
Plugin 'rust-lang/rust.vim'
call vundle#end()
filetype plugin indent on
" show existing tab with 4 spaces width
set tabstop=4
" when indenting with '>', use 4 spaces width
set shiftwidth=4
" On pressing tab, insert 4 spaces
set expandtab
autocmd BufEnter * silent! lcd %:p:h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment