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 907 73.26%
emacs 68 5.49%
notepad 67 5.41%
EditPlus 60 4.85%
UltraEdit 58 4.68%
pico 24 1.94%
nano 28 2.26%
mcedit 8 0.65%
nedit 18 1.45%
Voters: 1238. 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 3 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

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #218 (permalink)  
Old 3 Weeks Ago
Registered User
 

Join Date: Sep 2008
Location: OS X 10.5.4 /bin/bash 3.2.17
Posts: 22
Stumble this Post!
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 (permalink)  
Old 3 Weeks Ago
dotancohen's Avatar
Registered User
 

Join Date: Feb 2008
Location: חיפה
Posts: 17
Stumble this Post!
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 (permalink)  
Old 3 Weeks Ago
Registered User
 

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

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 (permalink)  
Old 3 Weeks Ago
Registered User
 

Join Date: Sep 2008
Location: OS X 10.5.4 /bin/bash 3.2.17
Posts: 22
Stumble this Post!
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 (permalink)  
Old 2 Weeks Ago
Registered User
 

Join Date: Sep 2008
Posts: 5
Stumble this Post!
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 (permalink)  
Old 1 Week Ago
./hari.sh's Avatar
Registered User
 

Join Date: Jul 2007
Location: Mumbai, India
Posts: 20
Stumble this Post!
Vim

export EDITOR=vi

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

Thanks
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux, regex, regular expressions, solaris

Thread Tools
Display Modes




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


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

Content Relevant URLs by vBSEO 3.2.0