quick question: good text editor for coding?

Net

Golden Member
Aug 30, 2003
1,592
3
81
if you decide to use vim put this in your .vimrc


set cindent
set smartindent
set autoindent
set expandtab
set softtabstop=2
set shiftwidth=2
syntax on
 

esun

Platinum Member
Nov 12, 2001
2,214
0
0
Since others have recommended vi, I'll go ahead and recommend emacs (though I'm sure those vi users will complain about it not being "light weight" compared to vi).
 

eLiu

Diamond Member
Jun 4, 2001
6,407
1
0
emacs

hands down better than all other options, light-weight or heavy-weight.
 

iCyborg

Golden Member
Aug 8, 2008
1,344
61
91
Ed, because it's the standard editor
http://www.gnu.org/fun/jokes/ed.msg.html

On a more serious note, UltraEdit is great, but is not free, so I use Notepad++ as a good alternative. Though, I tend to use Visual Studio under Windows for coding (Intellisense FTW), and under Linux usually some VI variety. Tried emacs, but could never get on board with it, probably just habit...
 

Ken g6

Programming Moderator, Elite Member
Moderator
Dec 11, 1999
16,635
4,562
75
IMHO, if you're willing to take a few person-days to learn the two modes, the commands that various keys produce, and regular expressions if you don't know them already, GVim is a great text editor!

If you're not willing to do all or most of that and just use the "easy" mode, GVim is just an OK text editor, maybe even worse than average. I haven't tried it, but Notepad++ might be a better alternative in this case.

Personally, I don't like UltraEdit because (1) you have to pay for it, (2) its regular expressions are non-standard, and (3) it has a learning curve that I think is similar to GVim (see also #2) but I don't know of anything UltraEdit can do that GVim + sed (for multiple files) can't do. Though I should add I haven't used UltraEdit much because of #1.
 

Staples

Diamond Member
Oct 28, 2001
4,953
119
106
Ultra Edit, been using it for many many many years. I paid for lifetime upgrades so I am set for the future.