Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vi just doesn't do it for me. need something else
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mreff555
Apprentice
Apprentice


Joined: 10 Mar 2011
Posts: 181
Location: Philadelphia

PostPosted: Sun Nov 03, 2013 6:39 pm    Post subject: vi just doesn't do it for me. need something else Reply with quote

Can anyone recommend a console text editor with color coding for coding. I know vi well enough to know I don't like it. In my opinion the bells and whistles which I don't use don't offset the lack of ease of use.

I honestly like nano a lot. I wish I could add colors to it, but I'm not sure if you can. I'd be up for suggestions.

I have a few GUI apps that I like such as sublimetext, but it's not free and I don't always code in a window manager. Any advice
Back to top
View user's profile Send private message
mackal
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2011
Posts: 75

PostPosted: Sun Nov 03, 2013 6:50 pm    Post subject: Reply with quote

If you like nano but want syntax highlighting, why not turn it on?
http://www.webupd8.org/2010/02/use-syntax-highlighting-in-nano-editor.html
Back to top
View user's profile Send private message
PeGa!
n00b
n00b


Joined: 13 May 2005
Posts: 62
Location: Capital Federal, Buenos Aires, Argentina

PostPosted: Sun Nov 03, 2013 6:51 pm    Post subject: Reply with quote

I'm sorry to hear that you don't like Vi. Have you tried Vi/M? (aka vim). Vim is Vi iMproved, which has a lot of neat options, including syntax highlighting, auto completion features, line numbering, screen splitting and many, many others. It may need a bit of love setting it up, but it worth the effort, I promise.

By the other hand, if you are fine with losing the undo history, command repetition, sub processes and all that stuff, you may investigate the Gentoo wiki about nano and the magnificent ArchLinux Wiki about Nano.. There you'll find syntax highlighting and some other tricks.

Good luck!
_________________
If it moves, it has an ebuild.

Adopt an unanswered post.
Back to top
View user's profile Send private message
Tractor Girl
Apprentice
Apprentice


Joined: 16 May 2013
Posts: 159

PostPosted: Sun Nov 03, 2013 8:54 pm    Post subject: Reply with quote

Emacs seems like the obvious choice :wink:
Back to top
View user's profile Send private message
Aiken
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jan 2003
Posts: 134
Location: Toowoomba/Australia

PostPosted: Sun Nov 03, 2013 10:05 pm    Post subject: Reply with quote

Some of my early stuff was using wordstar for doing pascal on cp/m. I ended up using joe as it was close to what I was used to from then. Never really liked nano. Joe does syntax highlighting.
_________________
Beware the grue.
Back to top
View user's profile Send private message
TheLexx
Tux's lil' helper
Tux's lil' helper


Joined: 04 Dec 2005
Posts: 84
Location: Austin Tx

PostPosted: Mon Nov 04, 2013 1:09 am    Post subject: Reply with quote

Tractor Girl wrote:
Emacs seems like the obvious choice :wink:

I"ll second that. It is a persional choice, but I love emacs, after using it for a decade and a half, I keep finding new cool things about it.
Back to top
View user's profile Send private message
mreff555
Apprentice
Apprentice


Joined: 10 Mar 2011
Posts: 181
Location: Philadelphia

PostPosted: Mon Nov 04, 2013 9:01 pm    Post subject: Reply with quote

mackal wrote:
If you like nano but want syntax highlighting, why not turn it on?
http://www.webupd8.org/2010/02/use-syntax-highlighting-in-nano-editor.html



Nice, I didn't even realize that was an option.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7738
Location: Somewhere over Atlanta, Georgia

PostPosted: Mon Nov 04, 2013 10:04 pm    Post subject: Reply with quote

Tractor Girl wrote:
Emacs seems like the obvious choice :wink:
I'll second that as well. Once you learn emacs, you'll... Wait... What am I thinking? I've been learning emacs now for over 12 years now and I'm not done yet. :wink:

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1237
Location: 42.68n 85.41w

PostPosted: Tue Nov 05, 2013 1:10 am    Post subject: Reply with quote

i use gedit to edit console text. then i use sftp (&gvfs) and mount file systems remote to local machine via nautilus / dolphin / thunar then copy paste files over network easily. or use gedit to change remote files. totally not cli, but cli is completely avoidable. gedits pro on the highlighting.... fail on cli end.... i just deal with the cli end much differently.

i figure its blasphemous to not have a browser accessable for accessing answers to questions while programming.

i agree vi is not friendly. nano / pico are easy. why isnt pico on the system and what's the difference from nano?
_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
https://wiki.gentoo.org/index.php?title=Special:Contributions/666threesixes666&offset=&limit=500&target=666threesixes666
Back to top
View user's profile Send private message
Polynomial-C
Developer
Developer


Joined: 01 Jun 2003
Posts: 1391
Location: germany

PostPosted: Tue Nov 05, 2013 9:52 am    Post subject: Reply with quote

mcedit from app-misc/mc has syntax highlighting as well.
_________________
The manual said "Requires Windows7 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum