]> git.phdru.name Git - dotfiles.git/commitdiff
Remove Medap-related mappings
authorOleg Broytman <phd@phdru.name>
Thu, 9 Oct 2014 08:46:06 +0000 (12:46 +0400)
committerOleg Broytman <phd@phdru.name>
Thu, 9 Oct 2014 08:46:06 +0000 (12:46 +0400)
.vim/ftplugin/mail.vim
.vim/ftplugin/medaprm-method.vim [deleted file]

index 79ceb6d498ded2d21f6a7c0a8b56af926b5dea99..f207edcb9da4a41c1bcc873e9dd332d304959309 100644 (file)
@@ -15,9 +15,3 @@ setlocal textwidth=72
 
 " SpamCop reports - goto the 9th line and start a browser
 nmap <Esc>z 9G3<Bar>,b
-
-" Remove my signature from a forwarded message
-nmap \f 2GddG4k5ddkdd
-
-" Remove boilerplate from a forwarded message from Trac
-nmap \t 1G21ddG15k11dd:%s/^+//<Enter>:%s/^ \*/--/<Enter>1G
diff --git a/.vim/ftplugin/medaprm-method.vim b/.vim/ftplugin/medaprm-method.vim
deleted file mode 100644 (file)
index 455a750..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-if exists("b:did_ftplugin")
-   finish
-endif
-
-if has("iconv") && !exists('b:encoding_set')
-   " Try to recognize the file encoding and convert the file
-   if search("^encoding ") > 0
-      let line = getline(".")
-      let encoding = matchlist(line, 'encoding *[:=] *\([^ ]\+\)$')[1]
-      call SetupEncoding(encoding)
-   endif
-endif