console editors linux
console editors linux
hi guys
i've checked the osfaq and the article on editors is absent.
So this thread might even aid the article ;p
I need a standard editor, one of those that are always included in a distribution for console under linux. I intend to use it for general programming. I've heard some names, pico,nano,vim,emacs, are they cool? Are there some neat tricks at using them?
Cheers
i've checked the osfaq and the article on editors is absent.
So this thread might even aid the article ;p
I need a standard editor, one of those that are always included in a distribution for console under linux. I intend to use it for general programming. I've heard some names, pico,nano,vim,emacs, are they cool? Are there some neat tricks at using them?
Cheers
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
GNU nano is alright...It's a clone of pico (Which was a text editor that was included with a program named pine..)
if you want to have a powerful editor, vi/vim is usually recommended, But it's not exactly easy to learn for a novice.
If you install X, I'd recommended SciTE (It includes code colouring for various languages etc..)
if you want to have a powerful editor, vi/vim is usually recommended, But it's not exactly easy to learn for a novice.
If you install X, I'd recommended SciTE (It includes code colouring for various languages etc..)
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
Here is a few screenshots on how SciTE's syntax colouring is:
(Click to make larger...)
EDIT: Removed 2015: Imageshack replaced all links with spam.
Here is one of my older p2 desktops, With SciTE open on a silly program I wrote.
(Click to make larger...)
EDIT: Removed 2015: Imageshack replaced all links with spam.
As you can see, It has syntax colouring for various languages..
(Click to make larger...)
EDIT: Removed 2015: Imageshack replaced all links with spam.
It also has other various GUI views etc..
I know, You wanted a console editor.. sorry
Here is what nano looks like with colour:
(Click to make larger...)
EDIT: Removed 2015: Imageshack replaced all links with spam.
Sorry for the naming bit, accidentally named the file SciTE lol..
There are a few more steps with nano though, You need to configure it with --enable-color and add templates for various languages into your .nanorc file.
http://wiki.linuxhelp.net/index.php/Nan ... ghlighting
The above has some templates
(Click to make larger...)
EDIT: Removed 2015: Imageshack replaced all links with spam.
Here is one of my older p2 desktops, With SciTE open on a silly program I wrote.
(Click to make larger...)
EDIT: Removed 2015: Imageshack replaced all links with spam.
As you can see, It has syntax colouring for various languages..
(Click to make larger...)
EDIT: Removed 2015: Imageshack replaced all links with spam.
It also has other various GUI views etc..
I know, You wanted a console editor.. sorry
Here is what nano looks like with colour:
(Click to make larger...)
EDIT: Removed 2015: Imageshack replaced all links with spam.
Sorry for the naming bit, accidentally named the file SciTE lol..
There are a few more steps with nano though, You need to configure it with --enable-color and add templates for various languages into your .nanorc file.
http://wiki.linuxhelp.net/index.php/Nan ... ghlighting
The above has some templates
Last edited by Brynet-Inc on Fri Aug 28, 2015 8:46 pm, edited 2 times in total.
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
Had to show off full transparency:
And yes, the little smiley under the window is still animated!!! It's really too bad that XGL is too unstable and distracting for my everyday use.
EDIT: This screenshot is using XGL, Beryl (http://www.beryl-project.org/), and gnome-terminal
And yes, the little smiley under the window is still animated!!! It's really too bad that XGL is too unstable and distracting for my everyday use.
EDIT: This screenshot is using XGL, Beryl (http://www.beryl-project.org/), and gnome-terminal
Last edited by jhawthorn on Sat Dec 30, 2006 12:36 am, edited 1 time in total.
I use ubuntu so as far as editors go I usually use some sort of lightweight IDE like geany. But I also really like gedit and gvim. I have two screenshots:
gvim: http://www.dximages.uni.cc/files/1/scre ... x/gvim.png
geany: http://www.dximages.uni.cc/files/1/scre ... /geany.png
[Edit]
Forgot to mention that gvim is a GTK+ interface for vim.
gvim: http://www.dximages.uni.cc/files/1/scre ... x/gvim.png
geany: http://www.dximages.uni.cc/files/1/scre ... /geany.png
[Edit]
Forgot to mention that gvim is a GTK+ interface for vim.