Skip to content

Instantly share code, notes, and snippets.

@graphicbeacon
Last active August 29, 2015 14:12
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save graphicbeacon/a531068b91f23d517952 to your computer and use it in GitHub Desktop.
Save graphicbeacon/a531068b91f23d517952 to your computer and use it in GitHub Desktop.
Configurations for VIM Editor. This relies on the use of some plugins, namely NERDTree, Easymotion, NeoBundle, Pathogen
"" General
set number "" Show line numbers
set linebreak "" Break lines at word (requires Wrap lines)
set showbreak=+++ "" Wrap-broken line prefix
set textwidth=100 "" Line wrap (number of cols)
set showmatch "" Highlight matching brace
set visualbell "" Use visual bell (no beeping)
set smartcase "" Enable smart-case search
set ignorecase "" Always case-insensitive
set incsearch "" Searches for strings incrementally
set autoindent "" Auto-indent new lines
set shiftwidth=4 "" Number of auto-indent spaces
set smartindent "" Enable smart-indent
set smarttab "" Enable smart-tabs
set softtabstop=4 "" Number of spaces per Tab
"" Advanced
set ruler "" Show row and column ruler information
set undolevels=1000 "" Number of undo levels
set backspace=indent,eol,start "" Backspace behaviour
set guifont=Monaco:h20
set foldmethod=indent
set foldnestmax=10
set nofoldenable "" Ensures opened files are normal and not folded by default
set foldlevel=2
"" Partly Generated by VimConfig.com
"" Pathogen Vim extension
execute pathogen#infect()
syntax on
filetype plugin indent on
"" Key mappings
"" Default mappings to editing .vimrc file
nmap ,ev :tabedit $MYVIMRC<CR>
"" Easy mapping for quick traversal, requires easymotion plugin
nmap <Leader>w <Plug>(easymotion-w)
"" Easy mappings for Folder view
map <Leader>nt :NERDTreeToggle<CR>
"" Personal settings
set t_Co=256
colorscheme github "" atom, autumnleaf, bclear, beauty256, bensday, blazer, eclm_wombat, lightcolors, solarized
"NeoBundle Scripts-----------------------------
if has('vim_starting')
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath+=/Users/jeropp00/.vim/bundle/neobundle.vim/
endif
" Required:
call neobundle#begin(expand('/Users/jeropp00/.vim/bundle'))
" Let NeoBundle manage NeoBundle
" Required:
NeoBundleFetch 'Shougo/neobundle.vim'
" Add or remove your Bundles here:
NeoBundle 'Shougo/neosnippet.vim'
NeoBundle 'Shougo/neosnippet-snippets'
NeoBundle 'tpope/vim-fugitive'
NeoBundle 'ctrlpvim/ctrlp.vim'
NeoBundle 'flazz/vim-colorschemes'
" You can specify revision/branch/tag.
NeoBundle 'Shougo/vimshell', { 'rev' : '3787e5' }
" Required:
call neobundle#end()
" Required:
filetype plugin indent on
" If there are uninstalled bundles found on startup,
" this will conveniently prompt you to install them.
NeoBundleCheck
"End NeoBundle Scripts-------------------------
@eyeboah
Copy link

eyeboah commented Dec 28, 2014

Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment