Skip to content

Instantly share code, notes, and snippets.

@leosilvadev
Created June 30, 2015 01:49
Show Gist options
  • Save leosilvadev/52a4dc634ad77b58b386 to your computer and use it in GitHub Desktop.
Save leosilvadev/52a4dc634ad77b58b386 to your computer and use it in GitHub Desktop.
My vim configuration file :)
let mapleader=','
set wildmenu
set wildmode=list:longest,full
set number
set cursorline
set tabstop=3
set shiftwidth=3
set softtabstop=3
set t_Co=256
syntax on
set background=dark
colorscheme distinguished
noremap <C-D> :CtrlPBuffer<CR>
noremap <leader>z :bp<CR>
noremap <leader>q :bp<CR>
noremap <leader>x :bn<CR>
noremap <leader>w :bn<CR>
noremap <leader>c :bd<CR>
noremap ss :split<CR>
noremap vv :vsplit<CR>
noremap <Space><Space> :nohl<CR>
noremap <leader>d d$<CR>
imap <C-c> <CR><Esc>O
map <C-n> :NERDTreeToggle<CR>
if has('vim_starting')
set nocompatible " Be iMproved
set runtimepath+=~/.vim/bundle/neobundle.vim/
endif
let neobundle_readme=expand('~/.vim/bundle/neobundle.vim/README.md')
if !filereadable(neobundle_readme)
echo "Installing NeoBundle..."
echo ""
silent !mkdir -p ~/.vim/bundle
silent !git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim/
endif
call neobundle#begin(expand('~/.vim/bundle/'))
NeoBundleFetch 'Shougo/neobundle.vim'
NeoBundle 'scrooloose/nerdtree'
NeoBundle 'ctrlpvim/ctrlp.vim'
NeoBundle 'derekwyatt/vim-scala'
NeoBundle 'othree/html5.vim'
NeoBundle 'moll/vim-node'
NeoBundle 'jelera/vim-javascript-syntax'
NeoBundle 'pangloss/vim-javascript'
NeoBundle 'nathanaelkane/vim-indent-guides'
NeoBundle 'Raimondi/delimitMate'
NeoBundle 'scrooloose/syntastic'
call neobundle#end()
filetype plugin indent on
NeoBundleCheck
let g:systastic_check_on_open=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment