Skip to content

Instantly share code, notes, and snippets.

@ybur-yug
Created July 2, 2017 19:05
Show Gist options
  • Save ybur-yug/3709b10ee4690add821184ae00a99a3b to your computer and use it in GitHub Desktop.
Save ybur-yug/3709b10ee4690add821184ae00a99a3b to your computer and use it in GitHub Desktop.
" FIXME if it is your first time with this vimrc then run
" # git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
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()
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'tpope/vim-fugitive'
Plugin 'elixir-lang/vim-elixir'
Plugin 'james9909/stackanswers.vim'
Plugin 'flazz/vim-colorschemes'
Plugin 'idanarye/vim-merginal'
Plugin 'hwartig/vim-seeing-is-believing'
Plugin 'ryanss/vim-hackernews'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
"syntax highlighting
colorscheme monokai
syntax on
set hlsearch
"line numbers
set nu
"backspace key
set backspace=2
":e autocomplete settings
set wildmenu
set wildmode=longest:list,full
"format the statusline
set laststatus=2
nmap ,e <C-E>
"NERDTREE
map <C-n> :NERDTreeToggle<CR>
set lazyredraw
set cc=120
" easy json formatting
map <C-j> :%!python -m json.tool
map <C-L> /\%>80v.\+
"tabbing
set tabstop=2
set shiftwidth=2
set expandtab
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment