Vorab: Als ich den Thread eröffnet habe, bin ich davon ausgegangen, dass meine Frage leicht zu beantworten ist. Wenn ich gewusst hätte...
Umso mehr möchte ich mich bei allen bedanken, die mir Tipps gegeben haben (ganz besonders dir, Meillo) oder mitgedacht haben.
Zur Sache: Ich denke, ich habs.
Ich fasse zusammen:
Code: Alles auswählen
lrwxrwxrwx 1 root root 17 26. Nov 13:00 /etc/alternatives/vi -> /usr/bin/vim.tiny
lrwxrwxrwx 1 root root 20 26. Nov 13:00 /usr/bin/vi -> /etc/alternatives/vi
-rwxr-xr-x 1 root root 1404616 2. Mär 2021 /usr/bin/vim.tiny
Ich bin darauf gestoßen, dass es einen Unterschied macht, ob ich vim.tiny direkt oder über den Alternative-Link vi aufrufe (beim Aufruf über vim.tiny war alles wie gewünscht).
Als ich dann noch in vimrc und vimrc.tiny darauf gestoßen bin:
Code: Alles auswählen
" Vim configuration file, in effect when invoked as "vi". The aim of this
" configuration file is to provide a Vim environment as compatible with the
" original vi as possible. Note that ~/.vimrc configuration files as other
" configuration files in the runtimepath are still sourced.
" When Vim is invoked differently ("vim", "view", "evim", ...) this file is
" _not_ sourced; /etc/vim/vimrc and/or /etc/vim/gvimrc are.
Code: Alles auswählen
" Uncomment the next line to make Vim more Vi-compatible
" NOTE: debian.vim sets 'nocompatible'. Setting 'compatible' changes numerous
" options, so any other options should be set AFTER setting 'compatible'.
"set compatible
... war ich mir schon sicher.
Jetzt steht in meiner vimrc.tiny
... und ich bin zufrieden.
Allerdings kann ich mir das ursprünglich von der Art des Aufrufs unterschiedliche Verhalten immer noch nicht erklären - egal.
Gedächtnis wie ein Rechen: Nur Mist bleibt hängen.