Skip to content

Instantly share code, notes, and snippets.

@zmackie
Created March 8, 2015 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zmackie/f09bdd6a71570e4b7cf8 to your computer and use it in GitHub Desktop.
Save zmackie/f09bdd6a71570e4b7cf8 to your computer and use it in GitHub Desktop.
set nocompatible
set autowrite
filetype off
set rtp+=~/dotfiles/vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'tpope/vim-surround'
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-rails'
Plugin 'nanotech/jellybeans.vim'
Plugin 'scrooloose/syntastic'
Plugin 'bling/vim-airline'
Plugin 'rking/ag.vim'
Plugin 'MarcWeber/vim-addon-mw-utils'
Plugin 'tomtom/tlib_vim'
Plugin 'garbas/vim-snipmate'
Plugin 'honza/vim-snippets'
Plugin 'tpope/vim-haml'
Plugin 'kana/vim-textobj-user'
Plugin 'nelstrom/vim-textobj-rubyblock'
Plugin 'Yggdroot/indentLine'
Plugin 'mattn/webapi-vim'
Plugin 'vim-scripts/Gist.vim'
call vundle#end()
filetype plugin indent on
let mapleader = ","
let g:ackprg = 'ag --nogroup --nocolor --column'
let g:NERDTreeWinPos = "right"
let g:UltiSnipsExpandTrigger="<tab>"
let g:UltiSnipsJumpForwardTrigger="<tab>"
let g:UltiSnipsJumpBackwardTrigger="<s-tab>"
let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
runtime macros/matchit.vim
set nobackup
set nowritebackup
set noswapfile
set history=1000
set ruler
syntax enable
set tabstop=2
set shiftwidth=2
set shiftround
set expandtab
set number
set showcmd
set cursorline
set nowrap
set modelines=0
set wildmenu
set lazyredraw
set showmatch
set incsearch
set laststatus=2
colorscheme jellybeans
nnoremap <Left> :echoe "Use h"<CR>
nnoremap <Right> :echoe "Use l"<CR>
nnoremap <Up> :echoe "Use k"<CR>
nnoremap <Down> :echoe "Use j"<CR>
set list
inoremap <expr> dts strftime("%Y-%m-%d %T")
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <C-H> <C-W><C-H>
set splitbelow
set splitright
set clipboard=unnamed
set encoding=utf-8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment