On Mon, 12 Oct 2020 at 07:39, Zdenek Dohnal <zdohnal(a)redhat.com> wrote:
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.
well, it would be good if vim itself display in which mode it runs. So then
if I run "vim", I get "vi", i will know, ok, i got only the stripped
down version
because i am in a container and the "extension" is not yet installed.
I would very much appreciate it as a user (about 16 years) of the great vim.
Usually in a vanilla container, i just want to run an editor quickly
to look at a file or
quickly edit something - i don't really care about user experience
because if I did,
I would already customized the container.
I wonder if typing vi instead of "vim" on my computer has any effect.
I am quite positive
that it had at some point in time but not sure about nowadays.
clime
>
> 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
>
> _______________________________________________
> devel mailing list -- devel(a)lists.fedoraproject.org
> To unsubscribe send an email to devel-leave(a)lists.fedoraproject.org
> Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org