|
General software and network General OS-independent software and network questions, X11, MTA, routing, etc. |
View Poll Results: Which vi do you use? | |||
original vi | 10 | 19.23% | |
nvi | 4 | 7.69% | |
vile | 0 | 0% | |
elvis | 0 | 0% | |
vim | 34 | 65.38% | |
some other vi clone | 0 | 0% | |
I don't use vi | 4 | 7.69% | |
Voters: 52. You may not vote on this poll |
|
Thread Tools | Display Modes |
|
|
|||
Which vi do you use?
Hello,
There are several different clones of vi floating around. Each has slight (or major) differences from all the others. So which do you prefer for your text editing needs (i.e., programming, editing /etc files, etc.)?
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14) |
|
||||
Vim and nvi but mostly vim:
vim for syntax highlighting, multiple editing buffers (:sp, :vsp) and tabs (:tabnew), visual mode, better yank/paste under X, improved undo/redo support, spell checking documents (Vim 7), more portable mappings (e.g. <stuff>), :command history, using my vimrc to adapt to platforms/programming languages easier, and much better coping with with the old CR+LF, LF, whatever issues. nvi for large files and long lines (like the ports INDEX file), quick edits, system files (when I don't need multiple files open side by side), and on systems where I don't need to do a lot of code editing. I like nvi because it is lighter and faser then vim. nvi, is basically my minimal specification for editing. Give me at least _most_ of nvi's abilities in a vi type editor or emulate it and I'll edit files happily -- I say nvi, because I've never used the original vi. I do rather prefer Vim where possible, along with my ~1000 line vimrc but I only need a small part of Vi capability. nvi provides more editing power then I require on a regular basis. Unless it's a job I prefer nvi for, I scale down in order of preference: vim with my .vimrc, vim -N, vi, kate, edit.exe, ex, notepad.exe/kedit/gedit, ed/edlin in roughly that order.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
Maybe the question should be "which do you prefer" rather than "which do you use"
I use vim because i unfortunately have to deal with a lot of linux systems ( shutup scottro ) ..... i would LIKE to use nvi.
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison Forum Netiquette |
|
|||
that's only coz you're an idiot, jason :P:P
__________________
"No, that's wrong, Cartman. But don't worry, there are no stupid answers, just stupid people." -- Mr. Garrison Forum Netiquette |
|
|||
Quote:
You might wonder why not just keep pressing 'u'. The answer is that this feature allows you to toggle an action (a potential complex one) and get a before and after look.
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14) |
|
|||
nvi allows allows for split screens with
:N[ext] filename . I'm still trying to figure out if I can get it to split vertically and how to move easily between the screens.
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14) |
|
|||
There are two features I do wish that nvi had that I haven't seen yet.
1) tabs 2) syntax highlighting Tabs are nice, but not necessary. But syntax highlighting is a big nicety. If only it could do at least minimal highlighting like elvis does (i.e., bold keywords), that would be great.
__________________
And the WORD was made flesh, and dwelt among us. (John 1:14) |
|
|||
I'm pretty sure the original vi allows this as well, at least for splitting the screen horizontally. These days, with multiple windows and monitors with enormous real estate, it does not matter to me as much. Back in the day of 25-line terminals, this was a god-send.
|
|
||||
Quote:
I couldn't find serious mention of this feature in the manual page for 'vi' on my system, aside from an odd ^W to change screens that is. Under ex commands, it lists Quote:
Thanks again!
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
The results of this poll bring tears to my eyes.
|
|
||||
I am sorry, I could not cast my vote on time and elevate little bit your mood. I am using nvi for absolutely everything. I caught myself recently even using ex. I could easily imagine myself just using ed if necessary.
I have not noticed the thread until now. I am rather surprised by the results of the voting. I am not surprised how many people like VIM. Lots of people need to work with Linux (occasionally even me). VIM also supports syntax highlighting which I guess could be useful if you can see the colours (I am having hard time to see what other features of vim are useful and could not be reproduced in pure nvi with key strokes). What is surprising to me is how many people claim to use original vi. First of all there are 3 different versions of original vi. One of them is certainly Solaris version which I used from 1996-2002. Does it mean that we have so many Solaris users around here? One of other two is a private copy if I recall correctly. I think that the third one is the copy shipped with V5. I do have to admit though that Caldera have released now original version of vi that was shipped with V5 and I would guess that can be easily ported to any posix compliant system. (It is not ported to OpenBSD though). Cheers, OKO Last edited by Oko; 6th November 2008 at 05:50 PM. |
|
||||
Quote:
And I voted for the original vi!! I voted wrongly then...
__________________
She sells C shells by the seashore. |
|
||||
Quote:
Quote:
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
Tags |
nvi, vi, vim |
Thread Tools | |
Display Modes | |
|
|