What editor does everyone use?


Poll: What is your preferred text editor?
Poll Options
What is your preferred text editor?

 
Thread Tools Search this Thread
Top Forums Programming Open Source What editor does everyone use?
# 218  
Old 09-19-2008
vi supports tabs! Well, not really... but if you want to have a handful of vi sessions open in a session, there's always suspend, and then fg "vi filename" to switch to a suspended session Smilie

When I first started using UNIX, I learned to use ex for editing configuration files. I wasn't really involved in any complex scripting - mostly a glorified babysitter. As time went by and I needed to coax more than basic functionality out of UNIX, I switched to vi and never really looked back. I don't even think about the editor, really... it's more reflex than conscious choice. That's probably the best compliment that I can give any utility...

Now, I have vim installed on the Windows box here at work, as I've grown tired of all of the letters that started to crop up in notepad. yy, cw, hjkl, etc.

nb: I use SciTE on Windows to troubleshoot the odd grammatical issue with a complex script, or when I need to provide printed documentation of the script.
# 219  
Old 09-19-2008
Quote:
Originally Posted by avronius
vi supports tabs! Well, not really... but if you want to have a handful of vi sessions open in a session, there's always suspend, and then fg "vi filename" to switch to a suspended session Smilie
I forgot to mention that you can have multiple buffers in vim, and go to next and rewind. Besides splitting. this will work on telnet /ssh.

I currently also use "screen" - started just yesterday, one window/terminal and many sub-terminals with bash, vim, irb, links (with ruby documentation). Can see them all below on the bar, and move with a quick 2 key combo.

Screen really shines when you are telnetting/ssh'ing.
# 220  
Old 09-21-2008
I've only ever used vi, so I'd have to choose that one. I have tried others I found online but with no success.

Not exactly sure what you mean but I'm using something called Dev-C++ right now and it compiles what I need to do so I haven't used vi recently. Problem is, I can't get it to run any of my programs, but no matter, I found that I can run it through command prompt (it only works on my Vista and not my XP).
# 221  
Old 10-02-2008
Vim

export EDITOR=vi Smilie

My favorite is VIM in Linux and Windows and vi in other machines.

Thanks
# 222  
Old 10-13-2008
ed

Ed is My editor of choice, with Yi coming in at a close second, and Ex/Vi in third.
Incidentally, Yi can emulate Ex/Vi, and even, perish the thought, Emacs. It is written in and configurable entirely within a Haskell runtime environment, and works well with XMonad, the WM I use. Of course, it can be configured to emulate Ed, but why bother?
Ed takes next to nil resources, is virtually universally the same across all the platforms on which it runs, and also happens to be the foundation uponn which Ex and eventually Vi were based. Not only that, but it was designed to work well with diff, though I have not yet figured out how to do it.
Another great editor, a so called "orthodox" editor, would be THE (The Hessling Editor). Of course, Ed can do much of what it does, though without the visual pizazz that THE and Vi, Vim in particlar, offer.
# 223  
Old 10-15-2008
... I use vi for any really simple editing I have to do. Otherwise I do my script editing in Windows with a fantastic editor called Aurora/32, and then go back to ux and type:
cat > myfile.sh

...and paste, followed by CTRL_D.

I'm a bit of a ux newbie, but I just can't handle typing syntax into an editor in order to 'edit' my file; especially when I can use a free mouse-driven syntax-highlighting fully macro & tab enabled editor instead!
# 224  
Old 10-16-2008
u can do ur scripting in any windows fancy editor lite notepad++, scintilla or ne commercial ones available. then do an ftp to unix and run dos2unix command over ur file to convert it to unix format. Smilie ..... i sometimes do that. I use notepad++ currently for perl. I earlier used codeblocks editor when i used C.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Not able to use @ in VI editor

Hello All, Need one Help for one issue. I am using a French Keyboard, so @ sign is on key 0 and i have to use right Alt + 0 to print it. It is working everywhere but not inside Vi editor. I can type @ in shell, in notepad. But inside Vi editor it is not working, another problem is that if... (2 Replies)
Discussion started by: yadavricky
2 Replies

2. Shell Programming and Scripting

About vi editor

How can ` character be printed on vi editor ? empl_id=`echo $line | awk ' { print $1; } '` (2 Replies)
Discussion started by: senem
2 Replies

3. Solaris

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :Licen

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :License server is down (1 Reply)
Discussion started by: durgaprasadr13
1 Replies

4. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set... (6 Replies)
Discussion started by: aarora_98
6 Replies

5. UNIX for Dummies Questions & Answers

Pasting text in VI editor from a different editor

Hi, I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question. How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'? As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies

6. HP-UX

vi editor

I am new in hp ux and I want work with vi editor, but in hp ux vi editor the backspaes and del keys doesn't work. how can I enable them. thanks (3 Replies)
Discussion started by: hkoolivand
3 Replies

7. UNIX Desktop Questions & Answers

best editor

We work on AIX 5L We use vi as text editor (only scripts to create and modifiy). What do you think of emacs ? Where can I find it ? Do you know better text editor for scripts ? Thank you for all answers. (1 Reply)
Discussion started by: annemar
1 Replies

8. UNIX for Advanced & Expert Users

vi editor

Hi, how can I add at the begining and at the end of all of the lines of my text file in VI editor ? Many thanks before. for exemple if in my file i have line 1 line 2 I want to have : start line 1 end start line 2 end (3 Replies)
Discussion started by: alain123456
3 Replies

9. HP-UX

instead VI editor - which one?

I'd like to find some editor for HP-UX, something like notepad, but not VI editor. Can someone have some ideas which one? thx (6 Replies)
Discussion started by: diamond
6 Replies

10. Shell Programming and Scripting

Vi editor ?

Hello everybody, My question is: how to add /tmp/work at the end of line in vi editor. my file looks like: cp file1 cp file2 cp file3 **** I need to add " /tmp/work" at the end of each line. I tried this :%s/$/" /tmp/work" and this :%s/$/\ /tmp/work\/ but it does not work. (2 Replies)
Discussion started by: billy5
2 Replies
Login or Register to Ask a Question