Questions tagged [editors]
Questions about text editors in general (i.e. programs used for editing plain text files).
338
questions
0
votes
0
answers
52
views
Vim: using a match (/ regexp) as a boolean to direct program flow
I'm developing a script for Vim to automatically update a "Last modified" timestamp on files. I'm sure this has been done before. I suspect answers will direct me to these existing ...
1
vote
1
answer
42
views
How to regex/escape backslash in Debian (Gnome) Text Editor?
In Gnome's Text Editor (gnome-text-editor aka gted from the gnome-text-editor Debian package), I cannot get replacement of starting lines (-) at newlines by \item.
I escape the item but does not work....
1
vote
1
answer
69
views
nano command execution stuck
In nano v8.0 there's an option to send selection to X clipboard in the nanorc:
"{execute}|xsel -ib{enter}{undo}"
which does perfectly.
I tried using xclip utility instead:
"{execute}|...
0
votes
1
answer
54
views
Ensuring no sensitive information is left unencrypted on disk after editing text file
I used a bootable Linux Mint USB to open a sensitive text file and add sensitive information to it. This text file is encrypted by Veracrypt and was only opened and edited while I was offline.
After ...
0
votes
0
answers
182
views
Cursor-ai editor code command not working on Arch Linux
The APPIMAGE file is not working with these errors and it does not allow to install code command or other when it is run:
❯ ./Downloads/cursor-0.32.1x86_64.AppImage
[9512:0416/165640.500124:ERROR:...
0
votes
0
answers
48
views
Do GUI text editors have a Samba share file size limit?
I cannot get Simple GUI text editors (xed or gedit) to open .txt files larger than 40 kb from a Samba share.
I have a Samba share set up on the USB port on a TP-Link router. I have connected this to ...
0
votes
1
answer
49
views
Ctrl+left/right on micro via SSH+byobu
Locally when opening micro text editor, Ctrl + left/right works normally (jump 1 word).
But when running via SSH + byobu, Ctrl + left/right gives [1;5C] and [1;5D].
Ctrl + S and Ctrl + Q also didn't ...
0
votes
0
answers
54
views
Geany: Possible to automatically enable/disable line wrap dependent on file type?
In Geany text editor / IDE, is there a way to tell it to automatically enable line wrapping for certain file types, but not for others?
For example, for .txt files, I would like it to always enable ...
0
votes
0
answers
80
views
Running Linux commands execute hidden command to regenerate Backdoor
My CentOS server compromised, the backdoor uploaded in /var/www/html/, I have deleted the backdoor and browsed the backdoor - to be sure it's deleted - it's surly deleted, but when I run any command ...
-1
votes
3
answers
207
views
Looking for a text editor without blinking cursor
I'm looking for a text editor that enables people to disable
the blinking cursor(aka prompt)(or doesn't have a blinking cursor altogether).
It's not an easy question to answer with a google search.
I'...
1
vote
4
answers
179
views
edit text/srt file
I have a .srt file like this
Input File
1
00:00:17,920 --> 00:00:21,159
The essential is invisible to the eye. 3
2
00:00:21,160 --> 00:00:22,559
This phrase comes from 4
3
00:00:22,560 --> ...
0
votes
1
answer
79
views
How to do replace with the dte editor
The dte editor a small and easy to use console text editor.
In readme or its online doc, both says:
Regex search and replace
(are the key features). However, I haven't found how to do the replace ...
0
votes
3
answers
105
views
How to interactively edit a file name from the terminal like with a file manager?
At the command line, one can rename a file by specifying the entire new name to mv
mv oldname newname
or using a regex with e.g. Perl's file-rename command.
rename -d 's/old/new/' oldname
But is it ...
0
votes
2
answers
59
views
How can I associate special logic with file extensions?
Is there an easy way to have arbitrary text editors call special logic based on a file extension?
For example, let's say I had a zip file that had a collection of files.
text.txt
image.jpg
othercrap....
1
vote
1
answer
86
views
Changing default editor for markdown bash_profile
I am pretty new to bash/zsh on Mac OX. I am trying to change my .bash_profile so that that all markdowns are opened with sublime when I enter open [filename].md in terminal. I have created synthetic ...