LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 07-27-2009, 01:47 PM   #1
alpha_lt
Member
 
Registered: Jul 2009
Location: Lithuania
Distribution: Debian testing (laptop), Debian stable (server)
Posts: 91

Rep: Reputation: 15
Simple text editor with syntax highlighting


Hello,

Is there any text editor (terminal) with syntax highlighting, but lightweight as nano. vim, emacs are very powerfull, but they're very hard to use, especially for newbies. Aren't there any easy to use ?
 
Old 07-27-2009, 02:15 PM   #2
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
SciTE, medit, geany?
 
Old 07-27-2009, 02:33 PM   #3
alpha_lt
Member
 
Registered: Jul 2009
Location: Lithuania
Distribution: Debian testing (laptop), Debian stable (server)
Posts: 91

Original Poster
Rep: Reputation: 15
Recently I've found that I can uncomment some lines in /etc/nano/nanorc and get extra features such as text highlighting. Nano is very nice and simple. I like it.
Also I will try what you sugested
 
Old 07-27-2009, 02:41 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
vim isn't hard to use; it's just different. Think of learning
how to use it as switching from automatic to manual driving ;}
Takes a while but it's great fun when you've mastered it.

Cheers,
Tink
 
Old 07-27-2009, 02:55 PM   #5
alpha_lt
Member
 
Registered: Jul 2009
Location: Lithuania
Distribution: Debian testing (laptop), Debian stable (server)
Posts: 91

Original Poster
Rep: Reputation: 15
I agree with you. Vim is nice. I know some commands by now, but when I need to do something fast then it might be confusing a little bit. I will learn vim and use. Its really nice. But now I have editor for fast using
By the way, SciTE, medit and geany are for graphic interface as I understand. I don't use it. Only command line.
 
Old 07-27-2009, 03:00 PM   #6
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Then I guess you should have a look at jed.
http://www.jedsoft.org/jed/features.html
 
Old 07-27-2009, 03:04 PM   #7
alpha_lt
Member
 
Registered: Jul 2009
Location: Lithuania
Distribution: Debian testing (laptop), Debian stable (server)
Posts: 91

Original Poster
Rep: Reputation: 15
It seems that it's what I was looking for. Need to check in more detail, but I think this is ideal for me (until I learn vim )
 
Old 07-28-2009, 04:13 AM   #8
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,541
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Kate? See Getting Started With the Kate Text Editor: Kate For Coders
 
Old 07-28-2009, 01:28 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Quote:
Originally Posted by catkin View Post
Kate w/o X? How?


Cheers,
Tink
 
Old 07-28-2009, 03:55 PM   #10
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,541
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by Tinkster View Post
Kate w/o X? How?


Cheers,
Tink
Ooops! Sorry -- overlooked the "terminal" in the OP
 
Old 07-28-2009, 04:22 PM   #11
alpha_lt
Member
 
Registered: Jul 2009
Location: Lithuania
Distribution: Debian testing (laptop), Debian stable (server)
Posts: 91

Original Poster
Rep: Reputation: 15
Ok, I've tested some editors and what can I say:

1. Nano very simple and highlighting works after tuning nanorc file. No highlighting for config files or files without extension
2. Jed ir very user friendly, but the same situation with highlighting
3. Vim - not very user friendly, but has lots of benefits including full highlighting

What is best ? I think best is to learn vim Until then use nano (for its simplicity)
 
  


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
LXer: Tip: Easily Enable Syntax Highlighting in Nano Editor LXer Syndicated Linux News 0 09-23-2008 10:10 PM
Actionscript editor or syntax highlighting? lhoff Linux - Software 2 06-23-2008 12:11 PM
Need text editor w/ GOOD CUSTOM SYNTAX HIGHLIGHTING. (Dont care what langs come with) bdb4269 Programming 3 05-02-2007 03:17 AM
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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration