From e29b37490e83f6645ae3acae39edffdee5cf7fc6 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 16 Oct 2007 12:12:12 +0100 Subject: [PATCH] add shortcuts for fixing fake tabs/spaces --- .vimrc | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.39.2