A text editor is a type of program used for editing plain text files.

learn more… | top users | synonyms (2)

14
votes
5answers
3k views

How can I edit a large file in place?

I have a few files sized > 1 GB each. I need to remove last few bytes from the files. How can I do it? I prefer to edit file in place to save disk space. I am on HP-UX.
142
votes
14answers
38k views

What are the pros and cons of Vim and Emacs?

How would you compare these editors? What are the pros and cons of each? [note] This is not meant to be answered by those who "hate one and love another" or those who haven't used both.
7
votes
10answers
1k views

Development environment for C

Looking for ideas on setting up a convenient and productive development environment for C development. I found C editing with Vim very helpful but I would like to get a wider sampling of suggestions.
4
votes
1answer
1k views

How does one find and replace text in all open files with geany?

How does one find and replace text in all open files with geany?
2
votes
2answers
4k views

Bash/Korn shell script edited on Windows throws error '…^M: not found'

Some background on the issue: I am new to scripting and wrote a simple Bash script in Windows using Notepad++. cxStopAllServicesOnSERVER.sh #!/usr/bin/bash cd "/some/path" echo "Hi. Logs can be ...
5
votes
1answer
652 views

Text editor with font-size selection for specific human languages (ie. Unicode Block) eg Devanagari

Pre Linux, I used Windows.. (too many years in the wilderness :) ... however there was a ray of sunshine in amongst all the general virus/re-install flack.. and that was Notepad++, a text Editor I ...
5
votes
2answers
3k views

How does one find and replace text in all open files with kate?

How does one find and replace text in all open files with kate?
4
votes
2answers
2k views

In SciTe (Scintilla), how can I create Syntax-Highlighting for my own custom language?

I want to create a custom Language, with its own custom Syntax Highlighting. Notepad++ (a Windows SciTe/Scintilla based Text-editor), allowed me to create a custom "Language", and now, in Linux, I ...
3
votes
1answer
239 views

Save HTML from clipboard as markdown text

I want to be able to highlight a section of a web page and copy it to the clipboard then save it to my local disk as markdown. I need an efficient way to do that. My current cumbersome method is: ...
2
votes
1answer
306 views

How does one find and replace text in all open files with LibreOffice?

How does one find and replace text in all open files with LibreOffice?
2
votes
2answers
787 views

How does one find and replace text in all open files with gedit?

How does one find and replace text in all open files with gedit?
7
votes
2answers
136 views

How does one find and replace text in all open files with jed?

How does one find and replace text in all open files with jed?
1
vote
3answers
58 views

Adding and removing text from the same place on every line of an emacs buffer

This is in a similar vein to my earlier question: Removing the last n characters from every line in an emacs buffer. The comments made there all apply here. Suppose I want to either insert the same ...