The text-editing tag has no wiki summary.
71
votes
23answers
80k views
Is there a text editor for very big files?
I have a very big text file (10 GB). Both Notepad and Notepad++ tell me that the file is too big for them to open. What editor can handle such a large file? It's a log file.
25
votes
4answers
14k views
How to make cut/copy/paste in GVim on Ubuntu work with Ctrl+X,Ctrl+C,Ctrl+V?
By default, the cut/copy/paste short-cuts in GVim on Ubuntu are:
Cut "+x
Copy "+y
Paste "+gP
I would like to use control key combos in GVim, like I use in Firefox and othe gnome ...
22
votes
13answers
11k views
Best LaTeX Editor [closed]
What's the best LaTeX editor you've used, and what would you recommend someone read to understand and become proficient with authoring papers/books in LaTeX?
21
votes
1answer
3k views
How can I filter a file for lines containing a string in Sublime Text 2?
I want to filter a file I'm editing in Sublime Text 2 for lines contain a certain string, if possible including regular expressions.
Consider the following file:
foo bar
baz
qux
quuux baz
When ...
19
votes
5answers
9k views
emacs: how to indent/unindent region of python code by 4 spaces?
I have a region of python code selected in emacs. What are the most efficient ways to indent and unindent every line in it by 4 spaces?
Ideally I'd like something that's not context sensitive (eg. ...
17
votes
11answers
4k views
What features does Emacs have that Vim hasn't?
What features am I missing when I use Vim instead of Emacs?
14
votes
3answers
16k views
Replace \r\n with newline in notepad++
How do I replace the string "\r\n" with the same characters.
Example:
Hello World.\r\nHello World.
replaced with:
Hello World.
Hello World.
12
votes
13answers
1k views
What Vim features do you use? [closed]
I spend almost all day programming in Vim and I am sure that a lot of you do too. What features do you use that make your day to day coding that much better? One that I use
is gv, which will let ...
12
votes
9answers
18k views
Convert unix line endings to windows
I recently moved back to Windows from Linux. I have some files with CRLFs, some with LFs and some that are mixed. Is there a utility that will help me find all my Unix-touched files and convert them ...
12
votes
3answers
2k views
Turn Off Parenthesis Matching in Sublime Text 2
I have questions about turn off parenthesis matching. Does anyone know how to turn off parenthesis matching?
example:
When I type a (, it will automatically add ), becomes ().
It's pretty nice for ...
11
votes
3answers
2k 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 ...
11
votes
20answers
5k views
What editor/viewer to use to inspect large text based files? [duplicate]
Possible Duplicate:
Text Editor for very big file - Windows
Are there any text editors/viewers (preferably on windows but other platforms are also ok) that can handle files of 500 MB or ...
11
votes
4answers
28k views
How can I edit Unicode text in Notepad++?
Sometimes I edit English text that includes Unicode characters. For some reason, on my PC, Notepad++ converts Unicode characters to ???'s thereby corrupting the text and losing all that data. I'm ...
9
votes
4answers
403 views
Can you edit the contents of an Excel cell without having to double click it?
I have a list of about 10,000 name/addresses that I have to manually cleanse in Excel (fun!). As you can imagine, having to double click to enter almost every cell to edit it is a drag. And it's ...
9
votes
3answers
424 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 ...
8
votes
8answers
3k views
Notepad++ - Removing the first column in a comma separated file
I have a large CSV file that I need to remove the first column of data. I cannot open it in Excel because Excel converts some of the values in the columns to scientific numbers.
I am using Notepad++, ...
8
votes
5answers
7k views
Where's my Open-With gVim context menu option in Windows 7?
I have gVim installed. Under Vista and XP, this offered me an addition to either the object context menu of "Edit with gVim", or an addtion to the "Open With" context menu of "gVim". This would let ...
8
votes
5answers
525 views
Free tool for graphical representations of XML files
I need a tool which displays an XML file in a nice way.
With "nice way" I mean a way on which I can fold and unfold all the nodes.
Is there any free tool that runs on Windows Vista that does this ...
7
votes
6answers
2k views
What is a good, simple and free HTML Editor for Windows?
Are there any good, simple and free HTML Editors for windows out there?
Something that a user with no experience can build a simple page.
Edit: I'm looking for something like the old Frontpage ...
6
votes
5answers
3k views
Is there a VI equivalent I can use on Windows XP and later?
I get frustrated using Notepad on my Windows XP machine when I want to do more complicated text manipulation. Having used VI on various versions of UNIX I'd like to get something with its power on my ...
6
votes
4answers
1k views
How can I justify plain text in Linux?
I'm composing a plain text (.txt) document that has left-and-right justified paragraphs. I manually add spaces, breaking words with hyphens if necessary, until the lines are uniform length. To use an ...
6
votes
3answers
8k views
Converting CSV to fixed-width in Notepad++?
is there a way in notepad++ to convert a comma-separated file to fixed width columns? This feature exists in Ultraedit and explained here, but I am happy with my Notepad++ and I don't wanna pay for a ...
6
votes
6answers
1k views
Small, light text editor / note taker with built-in strong encryption?
I've been using a little app called SafeSex to jot down notes securely; however it's not been maintained for ages and lacks polish. However, it does have Blowfish encryption built-in.
My question is: ...
5
votes
12answers
3k views
Parsing text files
I encountered a situation tonight where I wanted to parse a text file. I had a very, very long word list that contained English words delimited by lines. I wanted to get rid of every word (or line) ...
5
votes
5answers
707 views
How do I delete the next line in vim?
In emacs, whenever I want to delete a few lines of text, I just use C-k until all the text is gone. However, in vim it seems a bit more complex. I know I can do d$ to delete until the end of the ...
5
votes
4answers
9k views
Text / log editor with auto-refresh support
I'm looking for a text editor / log manager of some kind that will automatically refresh a file's contents when it changes.
I have a single target log file (e.g. current.log) that is overwritten ...
5
votes
2answers
894 views
How to delete each number at the beginning of a line in Notepad or Microsoft Word?
I have a list like this:
1 http://
2 http://
3 http://
4 http://
5 http://
I would like to remove 1,2,3,4,5 without doing this manually for each line. The only tool I am using is notepad in a bare ...
5
votes
2answers
588 views
Free program to scan a directory of text files and replace certain strings
I need a free program that can scan all .xml files in a directory and replace a certain string occurrence.
5
votes
1answer
861 views
“Overtype” mode in MS Powerpoint 2007?
is there any way to turn on the "Overtyping" feature in Powerpoint 2007 (you press the Insert key and then typing new characters replaces any existing characters to the right side of the insertion ...
4
votes
4answers
8k views
delete blank lines from a text file
I am trying to delete all the blank lines in a text file. Is there a quick way to do this?
What I have
line one
line two
What I want
line one
line two
I am using notepad++, so a solution using ...
4
votes
5answers
13k views
How to write multi lines in one Excel cell?
I want to write multi-lines in one MS Excel cell.
But whenever I press the Enter key, the cell editing ends and the cursor moves to next cell. How can I avoid this?
4
votes
4answers
8k views
What is the closest thing to Windows notepad on the Mac?
What is the closest thing to Windows notepad on the Mac?
I'm using Leopard.
4
votes
3answers
1k views
4
votes
2answers
594 views
Split a large text file
I have a large text file grouped with separate headers that I need to split into separate files.
For instance the file has headers like this:
--Heading 1--
some text
text
--Heading 2--
more text ...
4
votes
4answers
3k views
How do I convert a column of text to upper case in Excel 2007 without creating a new column?
I know that you can use formulas and convert the data that way, but how can I convert to Upper (or Lower or proper) in place? Is there an easy way built into excel to instruct a non-superuser with?
4
votes
4answers
1k views
Is there any Firefox addon to convert text to UPPERCASE or lowercase
Is there any Firefox addon to convert a bit of selected text (in text fields), to "UPPER CASE", "lower case", "Proper Case", and "Sentence case"?
This is useful when writing email.
4
votes
2answers
109 views
Getting vi/vim syntax highlighting used by certain user
At work most web-development we do, is done in vi/vim, on a debian-server.
Sometimes we have to alter some files as root, and the syntax-highlighting-model of that user (root) is absolutely awesome. ...
4
votes
4answers
60 views
Apply regex to certain occurrences
I have a large file with plain text (no html tags, etc.). What I want to do is to apply regex to whole file on the one hand but on the other I want to choose which changes will be applied.
For ...
4
votes
2answers
1k views
Windows Text Editor With SCP Support and No Install
Is there a programmer's text editor (line numbers, syntax highlighting) for Windows 7 that offers
Edit in Place via SCP
A non-administrator instalation/runs without instalation
Free is nice, ...
4
votes
3answers
2k views
Get rid of 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.
4
votes
1answer
225 views
How to do a search-and-replace in Opera for textarea context?
How do I do a search-and-replace in Opera for a textarea's context? I have a web page with html form and I need to input and edit large text in this form.
Easy example:
Stay on this page, scroll ...
4
votes
4answers
534 views
VERY large text files and Snow Leopard
Sometimes I need to work on EXTREMELY large text files. 200-300 megs or more.
My favorite text editor on my MacBook Pro is TextMate. However, TM chokes on very large text files. Even ones around ...
3
votes
5answers
1k views
How to split a text file into multiple text files
I have a text file called entry.txt that contains the following:
[ entry1 ]
1239 1240 1242 1391 1392 1394 1486 1487 1489 1600
1601 1603 1657 1658 1660 2075 2076 2078 2322 2323
2325 2740 2741 2743 ...
3
votes
4answers
263 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?
3
votes
4answers
850 views
Remote edit with local editor (Linux)
I have a server I can ssh into, and I am also running Ubuntu. How do I edit this remote file using any program I have installed on my local Ubuntu, without copying it to local, editing it, and copying ...
3
votes
3answers
110 views
Typing a column of numbers (1,2,3…)
I am writing a C# program containing these lines:
Console.Writeline("1");
Console.Writeline("2");
[...]
Console.Writeline("26");
Is there a quick way to type the 26 numbers? I'm using Visual ...
3
votes
2answers
323 views
How to perform search and replace in lots of files with Emacs at once?
I'm looking for a solution to how to perform a search and replace in all files in a directory using Emacs.
3
votes
3answers
134 views
“Drag” selected text using the keyboard?
If I select some text in a text input field/area/window, I can drag that text to another position somewhere within the text area using the mouse. Is it possible to do this dragging using the keyboard?
...
3
votes
1answer
631 views
Remove Byte Order Mark (BOM)
Background
Run SQL files using pgsql that were edited with gVim on Windows.
Problem
The BOM character causes syntax errors with pgsql. I would like to edit files using gVim and, when saved, no ...
3
votes
1answer
787 views
DokuWiki - How to show the edit buttons on section headers
In DokuWiki, is there any plugin compatible with the latest stable release (2009-02-14), that can show the edit buttons on section headers (like Wikipedia or MediaWiki) instead of showing them at the ...