A text editor is a program that allows for editing of plain text files.

learn more… | top users | synonyms (1)

51
votes
6answers
13k views

It's All Text for Chrome?

I'm a big fan of It's All Text for Firefox, as it's really helpful to be able to quickly open up gvim and write out code, wiki markup, etc in a powerful editor rather than trying to do edits in a ...
35
votes
5answers
26k views

Change default text editor for crontab to vim

I'm using ubuntu 9.10 and the default text editor is nano, which i hate. (doesn't everyone?) Normally it's not a problem as i just vi or gedit everything but crontab -e is opening with nano. I ...
28
votes
9answers
7k views

Are there any text editors which are Markdown aware and provide spell checking features? [closed]

I'm looking for a text editor that supports Markdown and has a spell check function. I would prefer a Windows program, although I can deal with a Linux solution. I don't own a Mac. EDIT: Do any of ...
26
votes
4answers
5k views

How reverse selected lines order in vim?

For example, if I have four lines as follows: the first line the second line the third line the fourth line I want to reverse them to the fourth line the third line the second ...
18
votes
5answers
6k views

How can I use custom colours in the Microsoft VBA editor?

I'm working on a few projects for work using Excel and VBA, so I have no choice but to use the Microsoft Visual Basic editor. I normally wouldn't mind, but I can't figure out how to set a custom ...
15
votes
2answers
11k views

How can I let TextMate show line numbers when I'm coding C++?

How can I let TextMate show line numbers when I'm coding C++?
13
votes
3answers
11k views

Opening a text file at a certain line (shortcut)

I would like to define a shortcut key which opens a particular text file at a particular line. My preferred editor is Notepad++, but suggestions involving other editors are welcome. How to open ...
13
votes
3answers
1k views

Edit one file in two different buffers in emacs

I would like to open the file foo.bar twice (or more) in emacs, so I can edit two different parts of it simultaneously. Is it possible? Probably the better question is, how to do it? Is there a way to ...
13
votes
6answers
20k views

Notepad2 or Notepad++ and why? [closed]

Why should I choose one over the other, or should I go another way?
11
votes
9answers
22k views

Is there a Linux equivalent of Programmer's Notepad or Notepad++

I've recently switched over to Ubuntu from Windows and love it. One thing I miss is my Programmer's Notepad. I haven't found anything similar yet for Linux. Eclipse is way too big and involved for ...
11
votes
3answers
24k views

What is the edit command for 64-bit Windows 7?

I am using Windows 7 64-bit. I could not find a command that enables me to write a text file in the command prompt. Is there a command for this on Windows 7 x64? I tried edit but it is not supported ...
11
votes
6answers
2k views

Windows-style, terminal based, text editor for linux

Every once in a while, I find myself editing some text file on a remote Linux server. Most of the time, I do my best to avoid this, because I'm used to, and like, the windows way of editing files: ...
9
votes
4answers
3k views

Lightweight text-editor with two code panels

I'm looking for a lightweight freeware text-editor for linux (Ubuntu) with two (or more) code panels, so I can compare pieces of code side-by-side. For Windows Notepad++ has two panels, and I can ...
9
votes
1answer
1k views

Why can Vim open large files faster than some other text editors?

When opening large log files (well, not that large, but 80mb is still a lot of text!), I've always used Vim since it loads them almost instantly. Other text editors like Notepad, Notepad++, etc will ...
8
votes
4answers
2k views

Any text editor that can apply some math to replacement text?

I have big XML file <obj param="2542"> <obj param="2333"> <obj param="6433"> I need to increase all "param" values by some number. I can match numbers that I need with regexp ...
8
votes
4answers
5k views

Light text editor for CSV file? [closed]

Could anybody suggest a light (small, fast) text editor that can handle columnar view of csv files? save quote character to all fields, even if not 'necessary' OpenOffice Calc is bit big for my ...
8
votes
1answer
7k views

In Notepad++, how do I split long lines in several rows?

I usually use Notepad++ for programming, but recently I started doing some writing in it as well. Writing usually involves long paragraphs with no line breaks, and currently those are displayed in ...
8
votes
2answers
3k views

textwidth=0 and wrapwidth=0 in .vimrc.local not being respected

I have the following lines at the bottom of my .vimrc.local: set textwidth=0 set wrapmargin=0 However, whenever I open a new file, both these values are set to their defaults (72 and 2, ...
8
votes
3answers
845 views

Is there a way to “lock” the viewport in vim?

I recently started using Vim with NERDTree. The annoying thing is when I close the buffer, NERDTree expands to fill the rest of the screen, and I have to open another file and reopen NERDTree to get ...
8
votes
1answer
8k views

How to remove all the duplicated words on every line using Notepad++?

I'm working on a file containing lines with keywords and some lines contain duplicated keywords. For example: dangerous,dangerous,hazardous,perilous I want to tell Notepad++ that I want to remove ...
8
votes
2answers
1k views

How do I record and run multiple find/replace with Sublime Text 2?

How do I record and run multiple find/replace with Sublime Text 2? I tried recording a macro but, as it seems, Sublime won't record find/replace, only text input etc.
7
votes
8answers
5k views

Simple tree notepad like editor

I am looking for very simple notepad that would allow "hierarchical" files editing. Something like TreePad but with much less bloat, more polish and possibly open sourced.
7
votes
6answers
7k views

A desktop Wiki editor/viewer: is there anything out there?

I'm a big user of wikis, mainly Dokuwiki, I really like the clarity and ease of use of simple text files. However all good wikis seem to require a web-server of some kind; has anyone come across a ...
7
votes
3answers
22k views

command line text editor like “edit” for windows x64 [duplicate]

is there any command line editor like the old edit for windows x64?. I exclude VIM because i don't like the mode behavior. I would like a editor were i could write just as i write in any application. ...
7
votes
2answers
4k views

How to change fonts in Kod?

I started using this new text editor called Kod (runs on Mac OS 10.6): http://kodapp.com/ It's very very fast, I'm a poor programmer and I don't have money to pay for TextMate, this might be the ...
6
votes
7answers
874 views

Mac Text Editor (with function list) [duplicate]

Possible Duplicate: Text editor for Mac OS X So I've got a Mac in the post coming to me, and will probably be doing quite a bit of development on it so I am looking for a text editor (PHP + ...
6
votes
4answers
7k views

What is the easiest way to get a yyyy-mm-dd hh:mm:ss timestamp hotkey on the Mac?

On Windows I use the PSPad editor which has a nice ALT-D timestamp which you can edit the format of, e.g. yyyy-mm-dd hh:mm:ss. When working outside an editor, e.g. Google Docs, I have Autohotkey ...
6
votes
3answers
1k views

Textmate not opening at all on Mac OS X

This is a very simple and strange error - TextMate is not opening at all. I have a license fully paid for, I checked my Mac OS X activity monitor and there is no TextMate process running. Is there a ...
6
votes
2answers
2k views

How do I get Google Drive to open text files with arbitrary extensions as text files?

I have text files on Google Drive that do not end with the .txt suffix (such as: .r, .bas, .awk...). I want to view them using the Drive Notepad app, but it does not recognize the files as text. Is ...
6
votes
2answers
925 views

Multiple foldmethods in vim

I use the folding option of vim quite a lot, and have usually set foldmethod to syntax. Recently I discovered that it is possible to add custom folds, such that I can put whole blocks in /*{{{*/ and ...
6
votes
2answers
1k views

How do I make vim's autoindent not drop trailing spaces?

In some text editors (e.g. Kate, gedit), when auto indent is enabled, pressing return twice will leave a trailing whitespace (which I want): if (code) { .... ....| } While others cater to the ...
5
votes
13answers
5k views

Alternatives to TextEdit?

I use TextEdit on the mac for nearly everything I do, making notes, writing letters, etc. I'm interested to find out what you use (if you use an alternative)? I've found that "competitors" like ...
5
votes
10answers
5k views

Can somebody recommend a program to compare differences in two text files and report the differences? [duplicate]

Possible Duplicate: File Compare Recommendation I have two config text files which are almost identical that I'd like to be able to easily identify the differences in. Can somebody please ...
5
votes
2answers
2k views

how to do a vim search inverse search for all lines with out text

with grep I can do a grep -v "my search" to get all the lines with out "my search" with sed I can sed '/baz/!s/foo/bar/g' to find replace text on lines with out baz Is there a way to do the same ...
5
votes
5answers
6k views

How do I remove empty lines in Notepad++ after pasting in data from Excel?

I want to clean up some data I copied from an Excel spreadsheet and wash off any formatting using Notepad++. I want to take advantage of line numbering of Notepad++ to count the number of lines I ...
5
votes
3answers
9k views

Windows Notepad and Notepad++ show newlines in same file differently

I created a Perl script which gets some data and inserts it line by line to a text file. When I open that file with Notepad++, it appears to have an empty line separation between each two lines of ...
5
votes
4answers
1k views

Why is so hard to use the dash character?

When typing texts on Word, Notepad or even in Google Docs. I want to use the dash symbol. Note that symbol is used in dialogs. All keyboards simply doesn't have the dash symbol (Alt+0151), so most ...
5
votes
2answers
778 views

vi/vim alternative to sublimetext's “Expand selection to scope”

Sublime text has a cool feature called "Expand selection to scope" SHIFT+CMD+SPACE which selects the everything within the scope. It select everything in scope, works perfectly ( ) or [ ] or { } ...
5
votes
7answers
3k views

Text Editor that hilights all instances of selection for Mac

On Windows, I use Notepad++ which has the great feature of when I select a word, all instances of that word are also highlighted in the same document. I have found it very helpful for finding ...
5
votes
5answers
2k views

File association for editing on a mac

I'm quite experienced with how file association works for opening files on Mac OS X. I recall reading somewhere that OS X keeps not only the information about which apps can open a file, but also ...
5
votes
3answers
1k views

Notepad++ like editor for linux which highlights words on right clicking

What I'm looking for is the Notepad++ feature where I can highlight words on right clicking and choosing one of the 5 styles (so that all instances of that word get highlighted with that color), in ...
5
votes
2answers
509 views

Vim Editor is very smart?

I am programming in C++ or Java. I want to use the Vim editor, and have heard that I can configure the Vim editor to be able to go: From an object to the definition From a function to the definition ...
5
votes
3answers
3k views

Show/Hide function folding margin on Notepad++

Is it possible to get rid of the function folding margin on Notepad++? It seems like the sort of thing that should be in the prefs but I'm not seeing it anywhere.
5
votes
1answer
223 views

Text editor for translators

I'm trying to translate a book as a hobby project and it's a bit of a pain software-wise. I don't need translation memory, just solid alignment of original and translation and highlighting of ...
4
votes
2answers
976 views

VIM: How do you get the last ex command you used?

I find that sometimes I write a really long ex mode command that do lots of stuff. They are sort of "mini-scripts" that I write in the text editor then I start ex mode and copy them into the ex line ...
4
votes
2answers
297 views

Is there a way to start vim in read only mode

I use /bin/view as it is a safe way to view text files and not have accidental changes persist once I am finished. /bin/view seams to be lack features that normal vim has. Is there a way to start vim ...
4
votes
4answers
1k views

How can I edit a file if there is no vi, vim, joe, etc?

Is there a way to edit a file if there are no vi, vim, joe, mcedit? In another words is there a way to edit a file using just the shell commands?
4
votes
2answers
3k views

How do I change the default text editor in Ubuntu

How can I change the default text editor for console programs in Ubuntu. When I run mutt and send a message, it currently loads up Joe and I would prefet to load Vim. I know I can change $EDITOR for ...
4
votes
2answers
372 views

Open unknown filetypes in text editor?

Is there a way to open files with unknown extensions, or no extension, in a text editor by default? I'm mostly interested in doing this on Windows 7, but it would be nice to know how in Mac/Linux ...
4
votes
2answers
916 views

LaTeX editor with project management for Mac

I tried a few of the LaTeX editors for OS X. TexMaker, TexWorks, TexShop and TextMate/BBEdit offer syntax highlighting and some additional features to edit single tex files. On Linux I've been using ...