commit 683d0e1389ed91dfde39a6a71abfde77ef7c0ded (patch)
parent ed5fc1b45235085fb68174148c3a0371d5172ce5
Author: Alexander Karle <akarle@umass.edu>
Date: Thu, 26 Jul 2018 23:49:05 -0400
Minor tweaks to vimrc
Diffstat:
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -56,6 +56,8 @@ if filereadable(expand("~/.vim/autoload/plug.vim"))
" INSTALL PLUGINS {{{
" Plugs will be downloaded under the specified directory.
call plug#begin('~/.vim/bundle')
+ " Moine!
+ Plug '~/git/vim-mwts'
" Colorscheme
Plug 'morhetz/gruvbox'
@@ -98,6 +100,9 @@ if filereadable(expand("~/.vim/autoload/plug.vim"))
" markdown rendering
Plug 'suan/vim-instant-markdown'
+ " Async Linting!
+ Plug 'w0rp/ale'
+
" code-completion (leave commented usually -- slows down start)
" Plug 'Valloric/YouCompleteMe'
@@ -258,8 +263,8 @@ nnoremap <DOWN> :next<CR>
" Clear that highlight!
nnoremap <BS> :nohlsearch<CR>
-" Get greppin quick!
-nnoremap <leader>g :grep<space>
+" Get greppin quick! --> search word under cursor
+nnoremap <leader>g yiw:grep <C-R>0<CR>
" Toggle whitespace
nnoremap <leader>w :set list!<CR>