From 15bae882c9707ea59a8e14fa86668ead7d94a2f3 Mon Sep 17 00:00:00 2001 From: hellerve Date: Thu, 17 Jan 2019 19:22:44 +0100 Subject: [PATCH] vimrc: simplify (under 100ms, yay) --- vimrc | 33 +++++++-------------------------- 1 file changed, 7 insertions(+), 26 deletions(-) diff --git a/vimrc b/vimrc index 1f12e55..620a800 100644 --- a/vimrc +++ b/vimrc @@ -28,7 +28,10 @@ noremap ,, , set formatprg="PARINIT='rTbgqR B=.,?_A_a Q=_s>|' par\ -w72" " Use stylish haskell instead of par for haskell buffers -autocmd FileType haskell let &formatprg="stylish-haskell" +augroup haskell_file + autocmd! + autocmd FileType haskell let &formatprg="stylish-haskell" +augroup END " Kill the damned Ex mode. nnoremap Q @@ -39,7 +42,7 @@ nnoremap Q set nocompatible filetype off -set rtp+=~/.vim/bundle/Vundle.vim +set rtp+=~/.vim/bundle/vundle call vundle#rc() " let Vundle manage Vundle @@ -47,40 +50,17 @@ call vundle#rc() Bundle 'gmarik/vundle' " Support bundles -Bundle 'jgdavey/tslime.vim' -Bundle 'Shougo/vimproc.vim' -Bundle 'ervandew/supertab' Bundle 'scrooloose/syntastic' -Bundle 'moll/vim-bbye' -Bundle 'nathanaelkane/vim-indent-guides' -Bundle 'vim-scripts/gitignore' " Git Bundle 'tpope/vim-fugitive' -Bundle 'int3/vim-extradite' " Bars, panels, and files -Bundle 'scrooloose/nerdtree' +"Bundle 'scrooloose/nerdtree' Bundle 'bling/vim-airline' -Bundle 'kien/ctrlp.vim' -Bundle 'majutsushi/tagbar' - -" Text manipulation -Bundle 'vim-scripts/Align' -Bundle 'vim-scripts/Gundo' -Bundle 'tpope/vim-commentary' -Bundle 'godlygeek/tabular' -Bundle 'michaeljsmith/vim-indent-object' - -" Allow pane movement to jump out of vim into tmux -Bundle 'christoomey/vim-tmux-navigator' " Haskell Bundle 'raichoo/haskell-vim' -" Bundle 'enomsg/vim-haskellConcealPlus' -" Bundle 'eagletmt/ghcmod-vim' -Bundle 'eagletmt/neco-ghc' -Bundle 'Twinside/vim-hoogle' " Other programming languages Bundle 'zepto-lang/zepto-vim' @@ -88,6 +68,7 @@ Bundle 'hellerve/carp-vim' Bundle 'tikhomirov/vim-glsl' Plugin 'rust-lang/rust.vim' Plugin 'isRuslan/vim-es6' +Plugin 'JuliaEditorSupport/julia-vim' " Extra Plugin 'editorconfig/editorconfig-vim'