Skip to content

Instantly share code, notes, and snippets.

@Ortuna
Created June 23, 2014 12:28
Show Gist options
  • Save Ortuna/a99b59d478b4e16cceaa to your computer and use it in GitHub Desktop.
Save Ortuna/a99b59d478b4e16cceaa to your computer and use it in GitHub Desktop.
set nocompatible " be iMproved set re=2
filetype off " required!
set shell=bash
set rtp+=~/.vim/bundle/vundle/
call vundle#rc()
Bundle 'gmarik/vundle'
Bundle 'vbundles/nerdtree'
Bundle 'vbundles/ctrlp'
Bundle 'vbundles/vim-rails'
Bundle 'vim-ruby/vim-ruby'
Bundle 'airblade/vim-gitgutter'
Bundle 'nathanaelkane/vim-indent-guides'
Bundle 'benmills/vimux'
Bundle 'skalnik/vim-vroom'
Bundle 'majutsushi/tagbar'
Bundle 'scrooloose/nerdcommenter'
Bundle "pangloss/vim-javascript"
Bundle "vim-scripts/loremipsum"
Bundle 'scrooloose/syntastic'
Bundle 'groenewege/vim-less'
Bundle 'daylerees/colour-schemes', { "rtp": "vim-themes/" }
Bundle 'kana/vim-textobj-user'
Bundle 'rhysd/vim-textobj-ruby'
Bundle 'tpope/vim-fugitive'
Bundle 'ervandew/supertab'
Bundle 'tpope/vim-markdown'
Bundle 'vim-scripts/Conque-Shell'
Bundle 'jistr/vim-nerdtree-tabs'
Bundle 'elixir-lang/vim-elixir'
filetype plugin indent on
let mapleader = ","
let g:vroom_use_vimux = 1
let g:vroom_use_colors = 0
let g:vroom_use_spring = 1
let g:VimuxOrientation = "v"
let g:VimuxHeight = 30
syntax on
set relativenumber
nnoremap <C-n> :NERDTreeTabsToggle<CR>
map <Tab> :tabn<CR>
map <S-Tab> :tabp<CR>
nnoremap <leader>t :tabnew<CR>
:command W w
:command Q q
nmap <Leader>l :Loremipsum<CR>
nmap <Leader>s :w<CR>
imap <Leader>s <ESC>:w<CR>
set expandtab
set nowrap " don't wrap lines
set tabstop=2 " a tab is four spaces
set backspace=indent,eol,start
set autoindent " always set autoindenting on
set smartindent " always set autoindenting on
set shiftwidth=2 " number of spaces to use for
set shiftround " use multiple of shiftwidth when
set showmatch " set show matching parenthesis
set ignorecase " ignore case when searching
set smartcase " ignore case if search pattern is all
set hlsearch
set incsearch
set showtabline=2
set nobackup
set noswapfile
set pastetoggle=<F2>
set mouse=a
"folding settings
set foldmethod=indent "fold based on indent
set foldnestmax=10 "deepest fold is 10 levels
set nofoldenable "dont fold by default
set foldlevel=1 "this is just what i use
colorscheme smyck
" Vimrcs in each project
set exrc
set secure
set t_Co=256
let &t_SI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=1\x7\<Esc>\\"
let &t_EI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=0\x7\<Esc>\\"
" upon hitting escape to change modes,
" " send successive move-left and move-right
" " commands to immediately redraw the cursor
inoremap <special> <Esc> <Esc>hl
"
" " don't blink the cursor
set guicursor+=i:blinkwait0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment