Skip to content

Instantly share code, notes, and snippets.

@Kevin-Kawai
Last active October 14, 2017 03:44
Show Gist options
  • Save Kevin-Kawai/54760cc89b9b4e9abdba5accf8e50378 to your computer and use it in GitHub Desktop.
Save Kevin-Kawai/54760cc89b9b4e9abdba5accf8e50378 to your computer and use it in GitHub Desktop.
my .vimrc
set nocompatible " be iMproved, required
filetype off " required <<========== We can turn it on later
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" " alternatively, pass a path where Vundle should install plugins
" "call vundle#begin('~/some/path/here')
" " let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" " Matchtag for matching HTML tags
Plugin 'MatchTag'
" " Coffescript highlighting
Plugin 'kchmck/vim-coffee-script'
" " Slim syntax highlighting
Plugin 'slim-template/vim-slim.git'
" " Vim Wiki!!!!
Plugin 'vimwiki/vimwiki'
" " for rails navigation
Plugin 'rails.vim'
" " running tests in vim
Plugin 'vroom'
" " <============================================>
" " Specify the plugins you want to install here.
" " We'll come on that later
" " <============================================>
" " All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" " To ignore plugin indent changes, instead use:
" "filetype plugin on
" "
" " Brief help
" " :PluginList - lists configured plugins
" " :PluginInstall - installs plugins; append `!` to update or just
" :PluginUpdate
" " :PluginSearch foo - searches for foo; append `!` to refresh local cache
" " :PluginClean - confirms removal of unused plugins; append `!` to
" auto-approve removal
" "
" " see :h vundle for more details or wiki for FAQ
" " Put your non-Plugin stuff after this line
" " Put the rest of your .vimrc file here
filetype plugin indent on
" " show existing tab with 2 spaces width
set tabstop=2
" " when indenting with '>', use 2 spaces width
set shiftwidth=2
" " On pressing tab, insert 2 spaces
set expandtab
"
set number " show line numbers in vim
set relativenumber " show relative number lines
"for vimwiki
set nocompatible
filetype plugin on
syntax on
let g:netrw_bufsettings = 'noma nomod nu nowrap ro nobl' "set column numbers in explorer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment