From 09c228ef2d22472280931bf50e18a0f2816cdf4c Mon Sep 17 00:00:00 2001 From: "chawley (shawshank)" Date: Wed, 6 Mar 2019 13:33:59 -0500 Subject: [PATCH] Removed unused plugins - added comments --- .vimrc | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/.vimrc b/.vimrc index 8538561..6eb68ae 100644 --- a/.vimrc +++ b/.vimrc @@ -31,9 +31,8 @@ set nowrap " Search and Substitute set gdefault " use global flag by default in s: commands set hlsearch " highlight searches -set ignorecase +set ignorecase " ignore case in searches set smartcase " don't ignore capitals in searches -nnoremap :nohls " Tabs set tabstop=4 @@ -52,17 +51,22 @@ else endif """ Basics +" ...one step above 'nocompatible' mode: a universal set of defaults that (hopefully) everyone can agree on. Plug 'tpope/vim-sensible' + +" Syntax hilights for multiple languages Plug 'sheerun/vim-polyglot' + +" one stop shop for vim colorschemes. Plug 'flazz/vim-colorschemes' """ General Functionality -Plug 'scrooloose/syntastic' -Plug 'tpope/vim-commentary' +"Plug 'scrooloose/syntastic' +"Plug 'tpope/vim-commentary' """ Particular Functionality -Plug 'vim-pandoc/vim-pandoc-syntax' -Plug 'godlygeek/tabular' +"Plug 'vim-pandoc/vim-pandoc-syntax' +"Plug 'godlygeek/tabular' """ Command Line Fuzzy Finder - https://github.com/junegunn/fzf Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } @@ -84,21 +88,21 @@ colorscheme marklar " ---------------------------------------------------------------------------------------------------- " ==> Autocompletion -let s:python_version=3 -echomsg 'Using python'.s:python_version +"let s:python_version=3 +"echomsg 'Using python'.s:python_version set completeopt=menuone,noinsert,noselect set shortmess+=c " Turn off completion messages " ---------------------------------------------------------------------------------------------------- " ==> Pandoc -augroup pandoc_syntax - au! BufNewFile,BufFilePre,BufRead *.md set filetype=markdown.pandoc - au! BufNewFile,BufFilePre,BufRead *.markdown set filetype=markdown.pandoc -augroup END +"augroup pandoc_syntax +" au! BufNewFile,BufFilePre,BufRead *.md set filetype=markdown.pandoc +" au! BufNewFile,BufFilePre,BufRead *.markdown set filetype=markdown.pandoc +"augroup END -let g:pandoc#syntax#conceal#use = 0 -let g:pandoc#syntax#codeblocks#embeds#langs = ['python', 'vim', 'make', 'bash=sh', 'html', 'css', 'scss', 'javascript'] +"let g:pandoc#syntax#conceal#use = 0 +"let g:pandoc#syntax#codeblocks#embeds#langs = ['python', 'vim', 'make', 'bash=sh', 'html', 'css', 'scss', 'javascript'] " ---------------------------------------------------------------------------------------------------- " => Statusline @@ -120,6 +124,9 @@ set statusline+=\ %P " percent through file " ----------------------------------------------------------------------------------------------------- " => Keymaps: Doing more things at once +" turn off search hilight +nnoremap :nohls + " ----------------------------------------------------------------------------------------------------- " ===> Keymaps: Buffers