On 10/10/20 2:37 PM, clime wrote:
Hello,
could Fedora and CentOS containers for docker and podman come with
`alias vim=vi` in ~/.bashrc?
I would very much welcome it as I am used to type vim everywhere but
if vi starts instead I am happy too. I know that the solution is to
create a customized container but often I want to try something on
vanilla containers from the whole range.
IMHO it is not a good idea. Some users which don't have to know the
problem can run 'vi' while thinking they run 'vim' and be surprised that
most 'Vim' features don't work and they will file a bug tickets, which
will be irrelevant, consuming reporter's&maintainer's time.
This problem should be solved by user (when he know there is no Vim and
excepts to use Vi, then he creates alias) or by installing vim-enhanced.
--
Zdenek Dohnal
Software Engineer
Red Hat Czech - Brno TPB-C