# HG changeset patch # User Peter Sanchez # Date 1609884353 28800 # Tue Jan 05 14:05:53 2021 -0800 # Node ID a9967d063adf800d9cdaa312345d7ec5932c60f7 # Parent 4d2924ae23aa69c11438b33ed55380d01f451811 Adding keys to find non-ascii chars diff --git a/vim/vimrc b/vim/vimrc --- a/vim/vimrc +++ b/vim/vimrc @@ -288,7 +288,10 @@ nnoremap S :%s//g " Remove all smart quotes -nnoremap q :%s/[“”]/"/ge:%s/[’]/'/ge +nnoremap q :%s/[“”]/"/ge:%s/[’‘]/'/ge + +" Highlight non-ascii characters +nnoremap x /[^\x00-\x7F] " Other options " set number