Skip to content
Browse files

Including plugins

  • Loading branch information...
1 parent 78adf1b commit 38083337824673f84a24acdedbc47e73a51d5a43 @vinioliveira committed
Showing with 130 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +5 −0 alias
  3. +106 −0 vimrc
  4. +18 −0 vundles
View
1 .gitignore
@@ -0,0 +1 @@
+bundle/
View
5 alias
@@ -0,0 +1,5 @@
+"map to NERDTree
+nnoremap <leader>p :NERDTreeToggle<cr>
+
+"map to bufexplorer
+nnoremap <leader>b :BufExplorer<cr>
View
106 vimrc
@@ -0,0 +1,106 @@
+set nocompatible " be iMproved
+filetype off " required!
+
+set rtp+=~/.vim/bundle/vundle/
+call vundle#rc()
+"reuired
+Bundle 'gmarik/vundle'
+
+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..
+
+"
+" PERSONAL Vim configs
+"
+
+let g:Powerline_symbols = 'fancy'
+
+syntax enable
+set tabstop=2
+"let mapleader = '\'
+
+
+set number "Line numbers are good
+set backspace=indent,eol,start "Allow backspace in insert mode
+set history=1000 "Store lots of :cmdline history
+set showcmd "Show incomplete cmds down the bottom
+set showmode "Show current mode down the bottom
+set gcr=a:blinkon0 "Disable cursor blink
+set visualbell "No sounds
+set autoread "Reload files changed outside vim
+
+
+" This makes vim act like all other editors, buffers can
+" exist in the background without being in a window.
+" http://items.sjbach.com/319/configuring-vim-right
+set hidden
+
+set laststatus=2 "It enabled powerline to be present always
+
+" ================ Search Settings =================
+
+set incsearch "Find the next match as we type the search
+set hlsearch "Hilight searches by default
+set viminfo='100,f1 "Save up to 100 marks, enable capital marks
+
+" ================ Turn Off Swap Files ==============
+
+set noswapfile
+set nobackup
+set nowb
+
+" ================ Persistent Undo ==================
+" Keep undo history across sessions, by storing in file.
+" Only works all the time.
+
+silent !mkdir ~/.vim/backups > /dev/null 2>&1
+set undodir=~/.vim/backups
+set undofile
+
+" ================ Indentation ======================
+
+set autoindent
+set smartindent
+set smarttab
+set shiftwidth=2
+set softtabstop=2
+set tabstop=2
+set expandtab
+
+set nowrap "Don't wrap lines
+set linebreak "Wrap lines at convenient points
+
+" ================ Completion =======================
+
+set wildmode=list:longest
+set wildmenu "enable ctrl-n and ctrl-p to scroll thru matches
+set wildignore=*.o,*.obj,*~ "stuff to ignore when tab completing
+set wildignore+=*vim/backups*
+set wildignore+=*sass-cache*
+set wildignore+=*DS_Store*
+set wildignore+=vendor/rails/**
+set wildignore+=vendor/cache/**
+set wildignore+=*.gem
+set wildignore+=log/**
+set wildignore+=tmp/**
+set wildignore+=*.png,*.jpg,*.gif
+
+" ================ Scrolling ========================
+
+set scrolloff=8 "Start scrolling when we're 8 lines away from margin
+set sidescrolloff=15
+set sidescroll=1
+
+set background=light
+colorscheme solarized
+
+source ~/.vim/vundles
+source ~/.vim/alias
View
18 vundles
@@ -0,0 +1,18 @@
+" original repos on github
+Bundle 'tpope/vim-fugitive'
+Bundle 'Lokaltog/vim-easymotion'
+Bundle 'rstacruz/sparkup', {'rtp': 'vim/'}
+Bundle 'tpope/vim-rails.git'
+Bundle 'vim-ruby/vim-ruby'
+
+" vim-scripts repos
+Bundle 'L9'
+Bundle 'FuzzyFinder'
+Bundle 'scrooloose/nerdtree.git'
+Bundle 'skwp/vim-powerline.git'
+Bundle 'bufexplorer.zip'
+Bundle 'ctrlp.vim'
+
+"Themest://github.com/
+Bundle 'altercation/vim-colors-solarized.git'
+Bundle 'AutoComplPop'

0 comments on commit 3808333

Please sign in to comment.
Something went wrong with that request. Please try again.