Questions about text editors in general (i.e. programs used for editing plain text files).

learn more… | top users | synonyms (2)

15
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.
8
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.
9
votes
9answers
3k views

Console Text Editor with Windows-like keyboard shortcuts (ctrl-z, x, c, v)

Ok, I realise that I risk a religious war asking a question about text editors, but here goes. Requirements Mostly used for config file edits Text based not GUI Available for Raspian flavour of ...
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
3answers
124 views

Can I bridge “backwards” from an ssh connection to my local emacs-server?

I'd very much like to log in to a remote machine with ssh and via the $EDITOR environment variable (or something similar) be able to edit in my local Emacs. In this case, specifically for when I log ...
2
votes
2answers
5k 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
670 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 ...
4
votes
1answer
313 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: ...
4
votes
3answers
2k views

vi / vim - how to automatically strip trailing spaces on save?

Is there a .vimrc setting to automatically remove trailing whitespace when saving a file? Ideally (to be safe) I would like to only have this functionality for certain files, e.g. *.rb
4
votes
3answers
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 ...
2
votes
1answer
315 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
936 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
138 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?