Skip to content

Instantly share code, notes, and snippets.

@iamJoeTaylor
Created February 24, 2015 06:53
Show Gist options
  • Save iamJoeTaylor/5ada42d11791a0a77d8e to your computer and use it in GitHub Desktop.
Save iamJoeTaylor/5ada42d11791a0a77d8e to your computer and use it in GitHub Desktop.
Bundle 'bling/vim-airline'
Bundle 'vitalk/vim-simple-todo'
Bundle 'godlygeek/tabular'
Bundle 'plasticboy/vim-markdown'
Bundle 'majutsushi/tagbar'
Bundle 'lukaszkorecki/CoffeeTags'
Bundle 'marijnh/tern_for_vim'
set nocursorline " don't highlight current line
" keyboard shortcuts
inoremap jj <ESC>
" gui settings
if (&t_Co == 256 || has('gui_running'))
set background=dark
colorscheme solarized
endif
" Disambiguate ,a & ,t from the Align plugin, making them fast again.
"
" This section is here to prevent AlignMaps from adding a bunch of mappings
" that interfere with the very-common ,a and ,t mappings. This will get run
" at every startup to remove the AlignMaps for the *next* vim startup.
"
" If you do want the AlignMaps mappings, remove this section, remove
" ~/.vim/bundle/Align, and re-run rake in maximum-awesome.
function! s:RemoveConflictingAlignMaps()
if exists("g:loaded_AlignMapsPlugin")
AlignMapsClean
endif
endfunction
command! -nargs=0 RemoveConflictingAlignMaps call s:RemoveConflictingAlignMaps()
silent! autocmd VimEnter * RemoveConflictingAlignMaps
autocmd BufRead,BufNewFile *.todo set filetype=markdown
autocmd BufRead,BufNewFile *.todo set background=light
set nofoldenable
let g:airline_powerline_fonts = 1
" fo coffee must install `gem install CoffeeTags`
nnoremap <leader>w :TagbarToggle<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment