![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
| View Poll Results: What is your preferred text editor? | |||
| vi or vi clone such as vim |
|
908 | 73.28% |
| emacs |
|
68 | 5.49% |
| notepad |
|
67 | 5.41% |
| EditPlus |
|
60 | 4.84% |
| UltraEdit |
|
58 | 4.68% |
| pico |
|
24 | 1.94% |
| nano |
|
28 | 2.26% |
| mcedit |
|
8 | 0.65% |
| nedit |
|
18 | 1.45% |
| Voters: 1239. You may not vote on this poll | |||
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| set EDITOR=vi -> default editor not setting for cron tab | aarora_98 | Shell Programming and Scripting | 6 | 4 Weeks Ago 11:01 PM |
| Which editor to use? | Nafanja | UNIX for Dummies Questions & Answers | 5 | 11-29-2007 08:58 AM |
| Vi editor | jazz | High Level Programming | 1 | 11-17-2005 04:37 AM |
| vi editor | eloquent99 | UNIX for Dummies Questions & Answers | 1 | 01-14-2003 01:49 AM |
| Using the vi editor | pbsys | UNIX for Dummies Questions & Answers | 2 | 11-05-2001 11:27 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
| Forum Sponsor | ||
|
|
|
|||
|
Glad to find this discussion since it deals directly with something that has been vexing me for a while.
I'm fairly new to unix and was disappointed when unix friends told me "just use vi" when I asked for the best way to edit and view files on our solaris boxes. I have come to the conclusion that I need 2 editors in the unix world Editor #1 - for use when I am writing code, scripts, etc. In other words editing that is going to take me more than a minute. For this I use Jedit Editor #2 - Used for quickly editing, searching and viewing files. I frequently need to edit a single line in a file, or need to view the file or search its contents (I know about grep, but I like to see the results of my search in the context of the rest of the file). For Editor #2 I'm not sure what to use. I have almost come to the conclusion that I need to make peace with vi and just accept it, but I find it so frustrating that it takes me longer to check my cheat sheet to find the right commands than it does to actually do the editing. My requirements for Editor #2 are: -Easily edit, view, and search text files. -Reasonable amount of certainty that the editor is available. My job requires that I connect to different boxes and often su to a different userid. It is frustrating to learn to use a tool and then it is not available. -Using the editor is easy to remember. I only need editor #2, two or three times a month. I feel like I am constantly relearning vi, and feel like I'm flying blind when I get lost between command mode and edit mode. -Needs to run in the console, i.e. doesn't run in X, which for me takes too long to load. I think our network is slow and our boxes are distributed. -I only need basic functionality, in other words I would trade ease of use in exchange for the advanced features in vi. Can anyone make a recomendation for Editor #2 or do I need to make my peace with vi I started using pico and liked it a lot but a co-worker told me not to trust it as it truncates lines over 80 characters. Too bad since I really liked it. Anyone know if there is a fix or work around for this. Basically I'm looking for something like pico or like "edit" from the dos prompt. |
|
|||
|
I am proud to say that I use TECO.
Not really. I always use vim. Sometimes I'll mess around with other editors to see what they can do, or how they do the things they do, but whenever I want to edit anything, my hands automatically type "vim". That does mess me up sometimes when I am on a new or different system that does not have vim. Even when I first started to use Unix-like systems I always preferred vi. Last edited by mgayoub; 06-15-2006 at 06:42 AM. |
|
|||
|
Notepad 2
A great little program. Its basically notepad with usefull coding tools (syntak schemes, bracket matching, line numbering) and some other features (small toolbar), etc. Its still small, doesn't need installed and is simple to use. Great for PHP, Perl, etc. (oh and its not actually 'Notepad 2' since Microsoft didn't create it - suprisingly they're yet to sue the person who did) If its a non script language like Java or soemthing I'll use a program dedicated to that language. For HTML, CSS, and sometimes PHP I can use Notepad 2, but Dreamweaver is better if its on the computer I"m using. |
|
||||
|
Quote:
|
|
|||
|
vi is massively powerful with very little footprint. once you learn vi you can edit a file faster in it than just about any other text editor.
if you are a UNIX admin, you NEED to learn vi. I have NEVER run across a *NIX system (or BSD) that did not have a version of vi. one time i typed #vi somefile on a system and it said "vi not recognized as an internal or external command" and I almost fainted. I had already begun editing the file, and had a bunch of garbage on the screen. luckily, i typed it in again and it worked. the more tricks you learn in vi, the better it will feel. a master of vi can open edit and save a file in vi before an opponent has even opened the file in notepad. I am not a master of vi yet, but i hope to acheive that enlightened state of mind at some point in my existence. I hope by constant vigilence to achieve moksha, or liberation from the wheel of life and existence to a higher plane in which the perfect use of vi is finally realized. |
|
|||
|
vi rulez.
IMHO Vi it's the best editor you can use. That's because:
I will always use vi I love vi Freddie |
|||
| Google The UNIX and Linux Forums |
| Tags |
| linux, regex, regular expressions, solaris |
| Thread Tools | |
| Display Modes | |
|
|