What editor does everyone use?


Poll: What is your preferred text editor?
Poll Options
What is your preferred text editor?

 
Thread Tools Search this Thread
Top Forums Programming Open Source What editor does everyone use?
# 274  
Old 02-04-2010
Quote:
Originally Posted by Andre_Merzky
people tend to stick to what they are used to...
Hit the nail right on the head Smilie

1) I learned pico/nano first, and will likely always prefer it (even tho I know how to use vi/notepad/gedit/kedit/wordpad/ted/insert-editor-here).

2) I learned debian first, and will likely always prefer it (even tho I know red hat/centos/suse/slackware/arch/gentoo/etc).

4) I learned windows 95 first, and will always prefer it's interface (my winxp box is set to the old interface now and i won't be upgrading it unless i can get my old interface on windows7)

Smilie

Old habits die hard Smilie
# 275  
Old 02-15-2010
Recently I have been writing PHP code on my Mac (OSX).

I really like this free editor, TextWrangler. Highly recommended for OSX users. One of my favorite features is the ability to open and save files on remote servers. Because of this feature, the editor doubles as a Linux/Unix system admin tool Smilie

Quote:
TextWrangler Features

TextWrangler is a powerful and richly featured tool for composing, modifying, and transforming text stored in plain-text files.

Text Editing and Manipulating
  • Powerful single and multi-file search & replace
  • Flexible ‘grep’ style pattern-based search and replace based on PCRE (Perl-Compatible Regular Expression)
  • Sort Lines and Process Duplicate Lines plug-ins offer grep pattern support for sorting, extracting, and handling text
  • Find Differences to compare two versions of a text file and merge the differences
  • Support for a wide variety of BBEdit plug-ins
  • Support for rectangular text selections
  • Built-in text transformations: Zap Gremlins, Change Case, Entab/Detab, and more
  • Open and save files in a variety of character sets, including Unicode (UTF-8 and UTF-16) files
  • Supports editing of multi-byte and Unicode text
  • Quick Search window
  • Perform incremental searches
  • Open and save files in Mac, Unix, DOS, and Unicode line-ending formats
  • Integrated support for Mac OS X’s spelling service
  • Hard or soft wrap text however you prefer
  • Quoted text rewrapper
  • Multiple Undo
  • Multiple Clipboards
  • Splittable editing windows
  • Auto-Indent
Programming
  • Syntax coloring and function navigation for ANSI C, C++, Fortran, Java, Object Pascal, Objective-C, Perl, Python, Rez, Ruby, Tcl, TeX, and Unix shell scripts
  • Automatic language guessing and User selectable per/document language setting for supported languages
  • Integration with Mac OS X developer help
  • Ability to function as an integrated external editor with Xcode
  • OS Platform Integration
  • Comprehensive AppleScript support: scriptable, recordable, and attachable
  • Ability to integrate TextWrangler with Unix tools and scripts, by means of the “edit” command-line tool
  • Authenticated saves (you can modify files not owned by you, provided that you are an administrative user)
  • Support for Quartz text smoothing
  • Support for Mac OS X Services
  • QuickTime translation support
  • Automatic backup of files when saving (optional)
  • Optional Emacs keybinding support
Other Useful Features
  • Extensive FTP/SFTP support open and save text files located on remote FTP servers
  • FTP tool supports Mac OS Keychain and use of alternate ports
  • FTP Browsers provide persistent view of remote site directories
  • Integrated support for FTP access through Interarchy and many other third-party FTP clients
  • FTP server discovery using Bonjour
  • Support for a wide variety of BBEdit plug-ins & the ability to develop your own plug-ins
  • Configurable key assignments – set keys for commands
  • Disk browsers – view directory listings and open files
  • Floating window list
# 276  
Old 02-24-2010
vim ... long back pico .... and Notetab lite ...
# 277  
Old 02-27-2010
I use Vim. Not gVim, the command line version. There is a learning curve, but it's well worth it. Vim provides syntax highlighting, spell-checking, macros, multiwindow editing, scripting capabilities, customizable settings, regular expression searches and substitutions, and a whole bunch of useful shortcuts. I've found it has syntax highlighting for almost every language I've tried to code in, including C, C++, HTML, CSS, Javascript, SQL, BASIC, Java, Assembly, sed, nroff, Lisp, Perl, PHP, Python, Ruby, Vimscript, Objective-C, Pascal, Ada, Fortran, Unix shell, DOS Batch, XML, DTD, and probably several others. I've found it doesn't have syntax highlighting for Cobol or Prolog, though.

I also like ed, because it has a nice retro feel to it, though I don't use it that much.

---------- Post updated at 09:00 PM ---------- Previous update was at 07:53 PM ----------

Quote:
Originally Posted by premnathk
in the Text file ex sample.txt

cat sample.txt

morning
evening
night
bye

__________________
i want add text "Good " i front of all the words .
u have to use one vi command only
or
u can write script also

o/p should be like this

cat sample.txt
Good morning
Good evening
Good night
Good bye

___________
Code:
%s/$/Good/g

# 278  
Old 02-27-2010
Quote:
Originally Posted by Ultrix
Code:
%s/$/Good/g

Which version of VIM gives the right answer with that command?

PS: I use only vi I have trouble with VIM. It's the multiple undo thing. Redoing an undo is not the same as undoing a redo, and I can never remember which direction i'm going in
# 279  
Old 02-27-2010
vi and notepad++
# 280  
Old 02-28-2010
Quote:
Originally Posted by james hanley
yes, I understand all that.. smaller is better. Large IDEs are greedy, annoying to learn your way around.. a nusiance just learning how to compile the program within the IDE!!

However, a debugger is very important!! Setting breakpoints. Watching variables. A text editor, as far as I nkow, doesn't offer this. I have heard that emacs has a debugger, but a poor one.
When I try to run a bash shell script I made in Vim, and it has an error in it, the shell will tell me what the error is and what line it's on. GCC does the same thing for C files, and so on. There is still a debugger; it's just not built into the editor. Can you think of an IDE that has a debugger for shell scripts?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Not able to use @ in VI editor

Hello All, Need one Help for one issue. I am using a French Keyboard, so @ sign is on key 0 and i have to use right Alt + 0 to print it. It is working everywhere but not inside Vi editor. I can type @ in shell, in notepad. But inside Vi editor it is not working, another problem is that if... (2 Replies)
Discussion started by: yadavricky
2 Replies

2. Shell Programming and Scripting

About vi editor

How can ` character be printed on vi editor ? empl_id=`echo $line | awk ' { print $1; } '` (2 Replies)
Discussion started by: senem
2 Replies

3. Solaris

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :Licen

Epic Editor was not able to obtain a license for your use. Feature Epic Editor :License server is down (1 Reply)
Discussion started by: durgaprasadr13
1 Replies

4. Shell Programming and Scripting

set EDITOR=vi -> default editor not setting for cron tab

Hi All, I am running a script , working very fine on cmd prompt. The problem is that when I open do crontab -e even after setting editor to vi by set EDITOR=vi it does not open a vi editor , rather it do as below..... ///////////////////////////////////////////////////// $ set... (6 Replies)
Discussion started by: aarora_98
6 Replies

5. UNIX for Dummies Questions & Answers

Pasting text in VI editor from a different editor

Hi, I knw its a silly question, but am a newbie to 'vi' editor. I'm forced to use this, hence kindly help me with this question. How can i paste a chunk 'copied from' a different editor(gedit) in 'vi editor'? As i see, p & P options does work only within 'vi'. (10 Replies)
Discussion started by: harishmitty
10 Replies

6. HP-UX

vi editor

I am new in hp ux and I want work with vi editor, but in hp ux vi editor the backspaes and del keys doesn't work. how can I enable them. thanks (3 Replies)
Discussion started by: hkoolivand
3 Replies

7. UNIX Desktop Questions & Answers

best editor

We work on AIX 5L We use vi as text editor (only scripts to create and modifiy). What do you think of emacs ? Where can I find it ? Do you know better text editor for scripts ? Thank you for all answers. (1 Reply)
Discussion started by: annemar
1 Replies

8. UNIX for Advanced & Expert Users

vi editor

Hi, how can I add at the begining and at the end of all of the lines of my text file in VI editor ? Many thanks before. for exemple if in my file i have line 1 line 2 I want to have : start line 1 end start line 2 end (3 Replies)
Discussion started by: alain123456
3 Replies

9. HP-UX

instead VI editor - which one?

I'd like to find some editor for HP-UX, something like notepad, but not VI editor. Can someone have some ideas which one? thx (6 Replies)
Discussion started by: diamond
6 Replies

10. Shell Programming and Scripting

Vi editor ?

Hello everybody, My question is: how to add /tmp/work at the end of line in vi editor. my file looks like: cp file1 cp file2 cp file3 **** I need to add " /tmp/work" at the end of each line. I tried this :%s/$/" /tmp/work" and this :%s/$/\ /tmp/work\/ but it does not work. (2 Replies)
Discussion started by: billy5
2 Replies
Login or Register to Ask a Question