LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-20-2012, 04:21 PM   #1
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 720

Rep: Reputation: 47
Lightbulb Is there any console text editors comparable with a modern IDE?


Hey LQ,

I find myself using more and more of the command line these days and I would love to just dump my IDE altogether if I could. The problem is though that I need some of the features of my IDE and I'm seriously doubting whether a text editor could match some of the features, but I'm hopeful.

I'm a web programmer, so in particular,

- Syntax highlighting for PHP is huge for me.
- Syntax completion for PHP is another.
- The ability to <tab> as two spaces instead of a tab
- The ability to copy and paste code blocks with or with out the mouse, but I prefer the mouse

Does such an editor exist? I have a bit of experience using JOE on an openBSD install a few years back. I didn't quite like it. For my Ubuntu server I've just been using nano, but I presume that it doesn't boast the features I like. I know VI is a big one, I've used it in the past when I was way bigger linux newbie and didn't like it. But I would consider it again.

Any how, thanks for reading and replying.
 
Old 10-20-2012, 04:32 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860Reputation: 4860
Don't know for syntax completion, but Vim or Emacs are the ones you should look at.
 
1 members found this post helpful.
Old 10-20-2012, 04:33 PM   #3
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 720

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by TobiSGD View Post
Don't know for syntax completion, but Vim or Emacs are the ones you should look at.
Awesome. I'll check those two out. I'm sure they are in the Ubu repositories.
 
Old 10-20-2012, 04:36 PM   #4
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Vim certainly has syntax completion - I can't remember if it's a plugin or not, but if I hit Ctrl+Shift+n then it lists all possible completions for me, which is a godsend.
 
1 members found this post helpful.
Old 10-20-2012, 04:38 PM   #5
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 720

Original Poster
Rep: Reputation: 47
Quote:
Originally Posted by Snark1994 View Post
Vim certainly has syntax completion - I can't remember if it's a plugin or not, but if I hit Ctrl+Shift+n then it lists all possible completions for me, which is a godsend.
What language do you write?
 
Old 10-20-2012, 04:42 PM   #6
Snark1994
Senior Member
 
Registered: Sep 2010
Location: Wales, UK
Distribution: Arch
Posts: 1,632
Blog Entries: 3

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
Quite a lot, to various degrees: I've only really used the feature for C/C++, but I just checked it works in PHP, and I imagine it's relatively easy to extend to whatever language you like...
 
1 members found this post helpful.
Old 10-21-2012, 06:08 AM   #7
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,837

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
Do be aware that vim (along with it's predecessor vi) has a very different conceptual nature from the text editors you may be used to, and it can take some time to get used to. However, it's also extraordinarily powerful and expandable, and can do amazing things after you get to know it.

To start with, read this for inspiration:
http://www.rudism.com/s/vimcreep

Here's a good, detailed introduction to the program:
http://www.swaroopch.com/notes/Vim_en-First_Steps

And here's one of the main sites storing vim tips. It's huge:
/http://vim.wikia.com/wiki/Vim_Tips_Wiki

Finally, after you install vim, you should be able to run vimtutor and it will load up a pre-designed tutorial text that you can work through to become familiar with the basic operations.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux image editors, video editors, audio editors, designing programs? vieya Linux - Software 3 12-06-2009 11:02 AM
Text Editors John-in-France Linux - Software 10 04-12-2008 12:29 PM
text editors gballsch SUSE / openSUSE 4 09-16-2006 02:15 PM
Text editors Penguin Dropout Programming 6 06-16-2003 11:22 PM
Saleens Can't Remember Any Console Editors Saleen_GT_S281 Linux - General 2 04-17-2003 03:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration