Skip to content

Instantly share code, notes, and snippets.

@tkuichooseyou
Created August 24, 2016 21:52
Show Gist options
  • Save tkuichooseyou/4a927bc64529a26e6f40f1bffc194b5b to your computer and use it in GitHub Desktop.
Save tkuichooseyou/4a927bc64529a26e6f40f1bffc194b5b to your computer and use it in GitHub Desktop.
Barebones vim
"" install vundle: https://github.com/VundleVim/Vundle.vim
set nocompatible
filetype plugin on
filetype indent on
syntax on
set autoindent
set smartindent
set smarttab
set shiftwidth=2
set softtabstop=2
set tabstop=2
set expandtab
set rtp+=~/.vim/bundle/Vundle.vim
let mapleader=","
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Bundle "tomtom/tcomment_vim.git"
Bundle "tpope/vim-surround.git"
Bundle "vim-ruby/vim-ruby.git"
Bundle "scrooloose/nerdtree.git"
Bundle "ctrlpvim/ctrlp.vim"
call vundle#end()
let g:ctrlp_map = ',t'
nnoremap <silent> ,t :CtrlP<CR>
nnoremap <silent> <C-\> :NERDTreeFind<CR>:vertical<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment