I'm getting lag in vim when navigating relatively small text files if
filetype plugin indent on is uncommented in my vimrc file. My full vimrc file is pasted below. Any help on how I can get it enabled properly with no lag? It's worked fine in the past. I only started having this issue lately.
set nocompatible " We're running Vim, not Vi! syntax on " Enable syntax highlighting filetype off " Begin For Vundle set rtp+=~/.vim/vundle.git/ call vundle#rc() Bundle 'gmarik/vundle' Bundle 'scrooloose/nerdcommenter' Bundle 'scrooloose/nerdtree' Bundle "https://github.com/msanders/snipmate.vim" " End Vundle code " causing massive lag, disabled "filetype plugin indent on " Enable filetype-specific indenting and plugins set number "enable line numbers set lines=40 columns=100 set clipboard=unnamedplus " Map ctrl-n to NerdTree nmap <silent> <c-n> :NERDTreeToggle<CR> " go to previous file with ,p let mapleader = "," map <Leader>p <C-^> " Load matchit (% to bounce from do to end, etc.) runtime! macros/matchit.vim augroup myfiletypes " Clear old autocmds in group autocmd! " autoindent with two spaces, always expand tabs set ai sw=2 sts=2 et " Move swp files to ~/.vim/tmp set backupdir=~/.vim/tmp set directory=~/.vim/tmp