LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 10-03-2010, 03:11 PM   #1
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Rep: Reputation: 94
Geekiest editor for source code ( syntax highlighting, etc )


Hi Forum

What would you choose to edit/write source files of C, C++, Python or Java...?

without refering to the most obvious answer which would be Eclipse,

under X, in console would you use nfte, nano, or Vim...?

What would be the best trade between learning time vs efficiency of use...?

BRGDS

Alex
 
Old 10-03-2010, 03:21 PM   #2
bendib
Member
 
Registered: Feb 2009
Location: I'm the rat in your couch.
Distribution: Fedora on servers, Debian on PPC Mac, custom source-built for desktops
Posts: 174

Rep: Reputation: 40
Although I may be inefficient because of this, I prefer either gedit or nano. The only feature I need in a text editor is find in document. Gedit gives the added joy of find and replace, along with code highlighting. I know vi(m), but it seems like it takes more time remembering ':' commands than actually typing.
 
Old 10-03-2010, 04:00 PM   #3
rkski
Member
 
Registered: Jan 2009
Location: Canada
Distribution: CentOS 6.3, Fedora 17
Posts: 247

Rep: Reputation: 51
I prefer to use vim, the more you use it the more efficient you will become. GUI wise, I found Geany and Anjuta to be nice text editor/IDE. Kate is another choice.
 
Old 10-03-2010, 07:40 PM   #4
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 650

Rep: Reputation: 79
Quote:
Originally Posted by bendib View Post
I know vi(m), but it seems like it takes more time remembering ':' commands than actually typing.
I will agree if you do not use vim on a daily basis... It takes longer to think of the command than it does to type it ...

I like nano
 
Old 10-03-2010, 11:06 PM   #5
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
I use gvim daily at work (and on windows) because of having to insert redundant information over and over again. So I set up shortcuts for the things I don't want to type for the 100th time.... However, I haven't quite mastered (or put much time into) making a custom syntax highlighting for what I do. Which would be all the geekier!.
 
Old 10-04-2010, 03:33 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Emacs...obviously.
 
Old 10-04-2010, 04:52 AM   #7
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
I haven't done any *real* programming recently, but if I want to whip up some stupid little C program because I'm bored, or if I want to look at the source of a program/game I use/play a lot just for the hell of it (like Neverball ), I use Geany.

Really, it's got more than I need: syntax highlighting (for a crapload of languages), code folding (hardly ever write anything long enough to need it ), object heirarchy display (that side pane with all your functions/clases/structs and whatnot), etc.

Really all I need is syntax highlighting and gcc (or g++, but that's rare)...

Last edited by MrCode; 10-04-2010 at 04:53 AM.
 
Old 10-04-2010, 04:53 AM   #8
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I would use Geany. But if you want geeky, use emacs.
 
Old 10-04-2010, 06:37 AM   #9
easuter
Member
 
Registered: Dec 2005
Location: Portugal
Distribution: Slackware64 13.0, Slackware64 13.1
Posts: 538

Rep: Reputation: 62
vim/gvim

After you get into the vi editing style, there's no going back
 
Old 10-04-2010, 06:48 AM   #10
Alexvader
Member
 
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Original Poster
Rep: Reputation: 94
Thx ppl for all your answers...

I will give emacs, geany and vim a try...

Seems to me that power users do not need a mouse or a point and click interface and are much more productive than the GUI ppl...
 
Old 10-04-2010, 08:23 AM   #11
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,224

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I used this to write my MPD client. It's a great editor for Python, and it supports other languages too:

http://code.google.com/p/ulipad/
 
Old 10-04-2010, 08:41 AM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by Alexvader View Post
Thx ppl for all your answers...

I will give emacs, geany and vim a try...

Seems to me that power users do not need a mouse or a point and click interface and are much more productive than the GUI ppl...
You are simply faster, if you don't have to reach the mouse and are able to keep your hands to the keyboard to accomplish a task. So emacs and vim with their keyboard commands are good, if you excercise enough to keep them in mint. Vim has a build in tutorial to teach you the basics (start it with vimtutor), I think emacs has also, but I don't know for sure.
 
Old 10-09-2010, 12:16 PM   #13
pr_deltoid
Member
 
Registered: Jun 2010
Distribution: Fedora
Posts: 289

Rep: Reputation: 41
emacs does have a tutorial, I've glanced at it.
 
Old 10-09-2010, 04:21 PM   #14
vdvluc
LQ Newbie
 
Registered: Apr 2009
Location: Netherlands
Distribution: NetBSD
Posts: 19

Rep: Reputation: 3
Geeky? No highlighting etc... ed, ex, vi?

But seriously, learning vi/vim is always good, because you will find it in a lot of Unix systems.

Last edited by vdvluc; 10-09-2010 at 04:26 PM.
 
Old 10-09-2010, 07:49 PM   #15
MrCode
Member
 
Registered: Aug 2009
Location: Oregon, USA
Distribution: Arch
Posts: 864
Blog Entries: 31

Rep: Reputation: 148Reputation: 148
Quote:
learning vi/vim is always good, because you will find it in a lot of Unix systems.
I just never could get used to the vi/vim way of doing things. One of the most annoying things to me is, believe it or not, the HJKL cursor movement scheme. Yeah, I know it's designed so that you don't have to stray far from the standard typing position to move the cursor, but it just reminds me of some of those old Macs that we had back when I was in middle school that I strictly avoided because their keyboards had that stupid one-row arrow key layout, instead of the more common inverted-T layout.
 
  


Reply



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
Configuration File for Vi or Vim Editor for Syntax Highlighting Hi_This_is_Dev Linux - General 5 09-12-2010 10:33 AM
Simple text editor with syntax highlighting alpha_lt Linux - Newbie 10 07-28-2009 04:22 PM
Actionscript editor or syntax highlighting? lhoff Linux - Software 2 06-23-2008 12:11 PM
syntax highlighting for ls command and vim editor cseanburns Other *NIX 0 01-02-2005 03:11 AM
need editor with syntax highlighting & ftp YBA^[x] Linux - Software 5 12-16-2004 04:29 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 02:02 PM.

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
Open Source Consulting | Domain Registration