From: martin f. krafft Date: Tue, 16 Oct 2007 11:12:12 +0000 (+0100) Subject: add shortcuts for fixing fake tabs/spaces X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/e29b37490e83f6645ae3acae39edffdee5cf7fc6?hp=32f91a5919d5dd14ba092e25aa2b4df116e4119c add shortcuts for fixing fake tabs/spaces --- diff --git a/.vimrc b/.vimrc index 61342a8..4651236 100644 --- a/.vimrc +++ b/.vimrc @@ -1483,6 +1483,13 @@ imap -- – imap --- — imap ... … +" replace fake tab chars with real ones +map ft :%s,⇝·*, ,g:nohlsearch`` +" replace fake spaces with real ones +map ft :%s,·, ,g:nohlsearch`` + +map sy :echo synIDattr(synID(line("."), col("."), 1), "name") + iab sgf Sehr geehrte Frau iab sgh Sehr geehrter Herr iab lf Liebe Frau