From aafc352dd06cace58c98cea9b335149231ac6e72 Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sat, 13 May 2017 16:37:56 -0700 Subject: [PATCH] Add vim command to remove "smart" quotes. --- dotfiles/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotfiles/vimrc b/dotfiles/vimrc index 6d26407..a9959c2 100644 --- a/dotfiles/vimrc +++ b/dotfiles/vimrc @@ -151,3 +151,6 @@ autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/ containedin=ALL " Color column at end of lines set colorcolumn=+1 highlight ColorColumn ctermbg=black guibg=lightgrey + +" Remove smart quotes +command Unsmartquote %s/“\|”/"/g