Created
August 20, 2013 21:26
-
-
Save volgar1x/6287548 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved | |
filetype off " required! | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" let Vundle manage Vundle | |
" required! | |
Bundle 'gmarik/vundle' | |
" My Bundles here: | |
" | |
" original repos on github | |
Bundle 'tpope/vim-fugitive' | |
Bundle 'Lokaltog/vim-easymotion' | |
Bundle 'rstacruz/sparkup', {'rtp': 'vim/'} | |
Bundle 'tpope/vim-rails.git' | |
" vim-scripts repos | |
Bundle 'L9' | |
Bundle 'FuzzyFinder' | |
" non github repos | |
"Bundle 'git://git.wincent.com/command-t.git' | |
" git repos on your local machine (ie. when working on your own plugin) | |
"Bundle 'file:///Users/gmarik/path/to/plugin' | |
" ... | |
Bundle 'Valloric/YouCompleteMe' | |
Bundle 'Blackrush/vim-gocode' | |
Bundle 'dgryski/vim-godef' | |
Bundle 'scrooloose/nerdtree' | |
Bundle 'jistr/vim-nerdtree-tabs' | |
Bundle 'scrooloose/syntastic' | |
Bundle 'altercation/vim-colors-solarized' | |
Bundle 'Railscasts-Theme-GUIand256color' | |
Bundle 'vim-scripts/Auto-Pairs' | |
"Bundle 'vim-scripts/toggle_comment' | |
Bundle 'vim-scripts/groovy.vim' | |
Bundle 'tfnico/vim-gradle' | |
Bundle 'derekwyatt/vim-scala' | |
Bundle 'tpope/vim-fugitive' | |
Bundle 'msanders/snipmate.vim' | |
Bundle 'kien/ctrlp.vim' | |
set background=dark | |
colorscheme railscasts | |
"if !has("gui_running") | |
" set background=dark | |
" colorscheme railscasts | |
"endif | |
filetype plugin indent on " required! | |
" | |
" Brief help | |
" :BundleList - list configured bundles | |
" :BundleInstall(!) - install(update) bundles | |
" :BundleSearch(!) foo - search(or refresh cache first) for foo | |
" :BundleClean(!) - confirm(or auto-approve) removal of unused bundles | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" NOTE: comments after Bundle command are not allowed.. | |
let g:nerdtree_tabs_open_on_console_startup=1 | |
let g:NERDTreeShowBookmarks=1 | |
let g:godef_split=2 | |
" delete current line | |
nmap <C-k> dd<CR><Up> | |
imap <C-k> <Esc><C-k>i | |
" duplicate current line | |
nmap <C-d> yyp<CR><Up> | |
imap <C-d> <Esc><C-d>i | |
" previous tab Alt+Left | |
nmap <M-Left> :tabp<CR> | |
imap <M-Left> <Esc><A-Left>i | |
" next tab Alt+Right | |
nmap <M-Right> :tabn<CR> | |
imap <M-Right> <Esc><A-Right>i | |
" Paste | |
nmap <C-V> "gP | |
imap <C-V> <Esc><C-v>i | |
" Go to left window (ie go to NERDTree window) | |
nmap <C-Left> h | |
imap <C-Left> <Esc><C-Left> | |
" Enable CtrlP in insert mode | |
imap <C-P> <Esc><C-P> | |
" go to left window | |
" nmap <C-w-Left> | |
" go to definition | |
nmap <C-n> gd | |
imap <C-n> <Esc><C-n>i | |
" display line numbers | |
set nu |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment