Plugin 'airblade/vim-gitgutter'
Plugin 'bling/vim-airline'
+Plugin 'derekwyatt/vim-fswitch'
Plugin 'elzr/vim-json'
-Plugin 'http://git.code.sf.net/p/vim-latex/vim-latex'
+Plugin 'firef0x/pkgbuild.vim'
Plugin 'junegunn/vim-easy-align'
Plugin 'kien/ctrlp.vim'
+Plugin 'klen/python-mode'
Plugin 'kshenoy/vim-signature'
Plugin 'majutsushi/tagbar'
+Plugin 'raimondi/delimitmate'
Plugin 'rking/ag.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'scrooloose/syntastic'
Plugin 'sjl/gundo.vim'
Plugin 'tomtom/tcomment_vim'
+Plugin 'tpope/vim-endwise'
Plugin 'tpope/vim-fugitive'
Plugin 'tpope/vim-repeat'
Plugin 'tpope/vim-surround'
Plugin 'tpope/vim-unimpaired'
Plugin 'valloric/youcompleteme'
+Plugin 'vim-scripts/yankring.vim'
" snippets
Plugin 'sirver/ultisnips'
Plugin 'ompugao/ros.vim'
Plugin 'ompugao/ctrlp-ros'
-Plugin 'firef0x/pkgbuild.vim'
-Plugin 'derekwyatt/vim-fswitch'
" seems to have problems right now... may be add later?
" Plugin 'jalcine/cmake.vim'
" Plugin 'powerman/vim-plugin-viewdoc'
-" endwise needs to be after delimitmate
-Plugin 'raimondi/delimitmate'
-Plugin 'tpope/vim-endwise'
-Plugin 'lokaltog/vim-easymotion'
+" find an alternative
+Plugin 'http://git.code.sf.net/p/vim-latex/vim-latex'
+" Plugin 'lokaltog/vim-easymotion'
+Plugin 'justinmk/vim-sneak'
Plugin 'chrisbra/checkattach'
-Plugin 'klen/python-mode'
Plugin 'nathanaelkane/vim-indent-guides'
-Plugin 'vim-scripts/yankring.vim'
" remove entries first
set runtimepath -=$HOME/.vim
map <space> <leader>
" make
+nnoremap <leader>r :make<cr>
nnoremap <leader><cr> :make<cr>
" unhighlight search
nnoremap U :syntax sync fromstart<cr>:AirlineRefresh<cr>:redraw!<cr>
" Ranger
-nnoremap <leader>r :silent !ranger %:h<cr>:redraw!<cr>
-nnoremap <leader>R :silent !ranger<cr>:redraw!<cr>
+" nnoremap <leader>r :silent !ranger %:h<cr>:redraw!<cr>
+" nnoremap <leader>R :silent !ranger<cr>:redraw!<cr>
" Use sane regexes.
nnoremap / /\v
" checkattach {{{2
let g:checkattach_filebrowser = 'ranger'
+let g:checkattach_once = 'y'
" delimitmate {{{2
let delimitMate_expand_cr = 2
let g:Tex_DefaultTargetFormat='pdf'
let g:Tex_MultipleCompileFormats='pdf'
+" vim-sneak {{{2
+let g:sneak#streak = 1
+let g:sneak#target_labels = "aoeuisnthdpylrcgfqjkxzmwvz" " dvorak
+let g:sneak#use_ic_scs = 1 " follow 'ignorecase' and 'smartcase'
+
+" sneaky f and t
+nmap f <Plug>Sneak_f
+nmap F <Plug>Sneak_F
+xmap f <Plug>Sneak_f
+xmap F <Plug>Sneak_F
+omap f <Plug>Sneak_f
+omap F <Plug>Sneak_F
+nmap t <Plug>Sneak_t
+nmap T <Plug>Sneak_T
+xmap t <Plug>Sneak_t
+xmap T <Plug>Sneak_T
+omap t <Plug>Sneak_t
+omap T <Plug>Sneak_T
" functions {{{1