The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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 957 73.39%
emacs 72 5.52%
notepad 71 5.44%
EditPlus 61 4.68%
UltraEdit 60 4.60%
pico 25 1.92%
nano 32 2.45%
mcedit 8 0.61%
nedit 18 1.38%
Voters: 1304. You may not vote on this poll

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
set EDITOR=vi -> default editor not setting for cron tab aarora_98 Shell Programming and Scripting 6 09-12-2008 11:01 PM
Which editor to use? Nafanja UNIX for Dummies Questions & Answers 5 11-29-2007 09:58 AM
Vi editor jazz High Level Programming 1 11-17-2005 05:37 AM
vi editor eloquent99 UNIX for Dummies Questions & Answers 1 01-14-2003 02:49 AM
Using the vi editor pbsys UNIX for Dummies Questions & Answers 2 11-05-2001 12:27 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #218  
Old 09-18-2008
Registered User
 

Join Date: Sep 2008
Location: OS X 10.5.4 /bin/bash 3.2.17
Posts: 22
Quote:
Originally Posted by dotancohen View Post
Although I usually use Kate, I would really like to get into VIM. I have no problem with the modal syntax (I like that) but I do need to have different 'tabs' of files open. Also, I need to browse remote filesystems and bookmark directories on those systems. Kate does this wonderfully.
If you want to use Vim, vim also supports tabs (gvim or google's macvim at least). It splits well too.
People say gvim is not for real men, but if i have long editing sessions and wish to keep a couple of terminals free for running commands then gvim is great. Commands may be run using :! which I do use, but say I wish to keep alpine open for a while, or my ruby interactive shell.
Reply With Quote
Forum Sponsor
  #219  
Old 09-18-2008
dotancohen's Avatar
Registered User
 

Join Date: Feb 2008
Location: חיפה
Posts: 21
Quote:
Originally Posted by sentinel View Post
If you want to use Vim, vim also supports tabs (gvim or google's macvim at least). It splits well too.
People say gvim is not for real men, but if i have long editing sessions and wish to keep a couple of terminals free for running commands then gvim is great. Commands may be run using :! which I do use, but say I wish to keep alpine open for a while, or my ruby interactive shell.
Thanks, that is nice. The tabs are a big help, and I will see what I can do about browsing and bookmarking remote filesystems. I managed to ssh into a remote server and browse the filesystem (!: ssh), but I could not open files in the local GVIM instance from there.
Reply With Quote
  #220  
Old 09-19-2008
Registered User
 

Join Date: Apr 2008
Location: Calgary
Posts: 196
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

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.
Reply With Quote
  #221  
Old 09-19-2008
Registered User
 

Join Date: Sep 2008
Location: OS X 10.5.4 /bin/bash 3.2.17
Posts: 22
Quote:
Originally Posted by avronius View Post
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
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.
Reply With Quote
  #222  
Old 09-21-2008
Registered User
 

Join Date: Sep 2008
Posts: 10
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).
Reply With Quote
  #223  
Old 10-02-2008
./hari.sh's Avatar
Registered User
 

Join Date: Jul 2007
Location: Pune/Kollam, India
Posts: 28
Vim

export EDITOR=vi

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

Thanks
Reply With Quote
  #224  
Old 10-13-2008
Registered User
 

Join Date: Oct 2008
Posts: 1
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.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux, regex, regular expressions, solaris

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 12:38 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0