Skip to content

Instantly share code, notes, and snippets.

@sailfish009
Last active April 18, 2018 01:13
Show Gist options
  • Save sailfish009/eaf38a36117ac29298828e8c8af3eb07 to your computer and use it in GitHub Desktop.
Save sailfish009/eaf38a36117ac29298828e8c8af3eb07 to your computer and use it in GitHub Desktop.
C:\vim\vim80\_vimrc
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=$VIMRUNTIME/bundle/Vundle.vim " $VIMRUNTIME C:\vim\vim80
call vundle#begin('$VIMRUNTIME/bundle')
syntax on
colorscheme moonfly
source $VIMRUNTIME/vimrc_example.vim
source $VIMRUNTIME/mswin.vim
behave mswin
set tabstop=2 " Size of a hard tabstop (ts).
set shiftwidth=2 " Size of an indentation (sw).
set expandtab " Always uses spaces instead of tab characters (et).
set softtabstop=0 " Number of spaces a <Tab> counts for. When 0, featuer is off (sts).
set autoindent " Copy indent from current line when starting a new line.
set smarttab " Inserts blanks on a <Tab> key (as per sw, ts and sts).
Plugin 'rust-lang/rust.vim' " :PluginInstall
"rust
let g:rust_recommended_style = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment