X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/b28fb7f7dedafd5076e3826c68f08c2e3285afd2..6c3bc35b34252c4e68281e7d3d961f403da97111:/.vimrc diff --git a/.vimrc b/.vimrc index 6d58d6a..99a26c5 100644 --- a/.vimrc +++ b/.vimrc @@ -851,7 +851,7 @@ set ci " (local to buffer) " set nopi pi """ set pi this ABORTS < 1:7.1-135+1 (see #446268) -if has('patch135') +if has('patch073') set pi endif @@ -1476,10 +1476,22 @@ vmap " ignore Q -- Ex mode map Q +let mapleader = ';' +let maplocalleader = ';' + imap -- – imap --- — imap ... … +" replace fake tab chars with real ones +map ft :%s,⇝·*, ,g:nohlsearch`` +" replace fake spaces with real ones +map fs :%s,·, ,g:nohlsearch`` + +map sy :echo synIDattr(synID(line("."), col("."), 1), "name") + +map / :nohlsearch + iab sgf Sehr geehrte Frau iab sgh Sehr geehrter Herr iab lf Liebe Frau