LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Simple vi (visual editor) into repositories (https://www.linuxquestions.org/questions/linux-software-2/simple-vi-visual-editor-into-repositories-4175603504/)

Xeratul 04-09-2017 05:26 AM

Simple vi (visual editor) into repositories
 
Hi Guys,

Would you like to have the visual editor vi (not vim) into default installations of Linux?

herewith some apt-get showing that vi is no longer there. Today people focus on vim and vim-tiny, so there is no need at all to use vi.

Code:

apt-get source vi
Reading package lists... Done
Building dependency tree     
Reading state information... Done
E: Unable to find a source package for vi


hazel 04-09-2017 06:56 AM

Sorry but why do you need vi? vim behaves exactly like vi if you invoke it as vi, or if you have set compatible in your vimrc file.

Xeratul 04-09-2017 11:30 AM

Quote:

Originally Posted by hazel (Post 5694715)
Sorry but why do you need vi? vim behaves exactly like vi if you invoke it as vi, or if you have set compatible in your vimrc file.

Because vi was available with vim.

It's is just a question.

rtmistler 04-10-2017 12:28 PM

I didn't know about either of the first two points, however as long as I type "vi" and I get vi behavior, this is my desire. I'm a little disconcerted that people see fit to tinker with things like that, however I fully understand their design actions as hazel describes.

@Xeratul, no need to be defensive since you have asked for opinions. I disagree that there is no need at all to use vi, in fact I agree that it is absolutely needed, because I use it. The critical point is that technically I may be using vim which is emulating or behaving exactly like vi, when I type "vi". I need it that way, I want it that way, and if I a more rich editor, I use a different editor. I don't use vim or vim-tiny and do not wish too.

Xeratul 04-10-2017 05:04 PM

Quote:

Originally Posted by rtmistler (Post 5695224)
I didn't know about either of the first two points, however as long as I type "vi" and I get vi behavior, this is my desire. I'm a little disconcerted that people see fit to tinker with things like that, however I fully understand their design actions as hazel describes.

@Xeratul, no need to be defensive since you have asked for opinions. I disagree that there is no need at all to use vi, in fact I agree that it is absolutely needed, because I use it. The critical point is that technically I may be using vim which is emulating or behaving exactly like vi, when I type "vi". I need it that way, I want it that way, and if I a more rich editor, I use a different editor. I don't use vim or vim-tiny and do not wish too.

I also used many years vi and I believe that the big vim (>8 mb) is not needed if you do simple editing.

ondoho 04-11-2017 01:11 AM

There's still ed... (ducks and runs)


All times are GMT -5. The time now is 05:18 PM.