Stuck in vim loop

What have you tried: I am trying to remove vim. but it install vim-nox. Then i try also to remove vim-nox then it again installing vim.

What is the error: I am stuck in vim loop. I cant uninstall vim.

is vim important for kali linux ??

Git for starters uses vim as it’s default editor. I’m sure there are lots of others that rely on it too.

Why do you want to remove it? You could just not use it.

1 Like

vim is the only editor that you know will be on a Unix like system, it is part of a default install, even on slimmed down machines that may only be running a server in headless mode, if you log in to a remote Unix/Linux machine and can’t upload anything, then vim will be your de-facto editor on that remote machine!

Launch vim and type vim tutor and it will give you an interactive tutorial on using it.

quit vim saving edits:
:wq

quit vim saving nothing:
:q!

vim is a modal editor, so it swaps between ‘reading mode’ and 'edit mode (insert)" which is why people find it confusing at first, but it is a very powerful editor and can be configured to be a full IDE like environment, just like your favourite text editor your used too!

It’s also a teeny weeny little program so not like it’s taking up a load of space. There’s no reason I can think of to want to remove it.

On my system its 3.8 megs.

1 Like