Questions tagged [editors]
Questions about text editors in general (i.e. programs used for editing plain text files).
330
questions
-1
votes
0
answers
24
views
Texmacs on Devuan
I will install Crowz Openbox (Devuan Dedalus) but I like to know if some applications that run on Debian (11 and 12) will run on Dedalus. In my case I need the Texmacs Editor. Texmacs have a Debian ...
0
votes
0
answers
52
views
Mobaxterm text editor [closed]
I use mobaxterm to connect via ssh.
I would like to about the tab sizes in the Mobaxterm text editor. I would like to increase the size of each tab to view the whole file title. Is that possible?
...
-1
votes
3
answers
99
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
155
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
44
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
73
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
57
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
33
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 ...
-2
votes
1
answer
49
views
Is there any Linux text editor application that supports windows-style KB shortcuts?
I am mainly a Windows user who occasionally uses Linux via ssh terminals.
Currently, I am using nano as the text editor.
However, I am so fed up that I am planning to write my own text editor ...
0
votes
0
answers
37
views
How to let text editors (or Gtk text view component) respect my font settings for leading whitespace for correct indentation?
In the MATE desktop environment (Debian Linux 12), the width of the rendered leading spaces seems to be different according to different languages, in rich text like components. Including the text ...
0
votes
0
answers
36
views
Why do commands like `vipw`, `visudo` exist, while a general editing with lock command does not exist?
Commands like vipw, visudo, vigr open the configuration files with the default editor and set lock, so that the editing would be safe. Why do we have commands to edit these files specifically, while a ...
-1
votes
1
answer
432
views
How to uninstall helix-editor completely along with all helix related files and configurations?
The steps here are NOT clear to me. I am using Debian
https://github.com/helix-editor/helix/discussions/5228
Installation steps:
$ git clone https://github.com/helix-editor/helix
~/helix ‹master› $ ...
1
vote
1
answer
192
views
How to detect the linux distribution name in Neovim init.lua
How can I detect in my neovim ~/.config/nvim/init.lua configuration which operating system distribution nvim is running? I want different Neovim configurations on debian servers as on my fedora linux ...
3
votes
2
answers
478
views
How can I edit a row in a 7GB csv file?
I have a .csv file which is 7+ GB and has 30M rows.
When I load the file into a database table in SQL Server, it reports the position of a row with some format problem, probably due to some fields ...
1
vote
0
answers
57
views
How to debug why iTerm2 is loading SublimeText instead of VSCode as the default editor when I click iTerm2 links?
I read How can I set the default editor as nano on my Mac? and tried setting my default editor in .bashrc, .bash_profile, and .zshrc (how do I tell which one I'm using)? After adding to each of these ...
0
votes
1
answer
283
views
Use meld in Kate editor, Flatpak version, to compare files and find differences
In Kate editor I have been using meld to compare files and find differences.
I was happily using the contextual menu that you get when you have two files open and you right-click on the tab of the non ...
1
vote
0
answers
130
views
Text output with colors in xed text editor
I'm executing a nodejs project with roarr library for log messages; when I write the output to a file and open the geretated text file with xed, I have the following codes indicate, I argue, the ...
1
vote
1
answer
403
views
Error messages everytime GUI text editor is opened from terminal
Whenever I open Gnome Text Editor from the terminal using the command gnome-text-editor ./example.txt, I get the following error messages:
(gnome-text-editor:9560): dconf-WARNING **: 00:00:58.433: ...
0
votes
0
answers
150
views
font madness on linux desktop
I am using Debian 10. fc-list shows following fonts installed on my system:
$ fc-list | cut -d':' -f2 | sort -u
Bitstream Charter
Century Schoolbook L
Courier 10 Pitch
DejaVu Sans
DejaVu Sans Mono
...
0
votes
1
answer
479
views
Text editor that can hide lines like notepad++
Notepad++ has a feature where you simply right click on a text and select "hide lines", for example a base64 encoded jpeg in a markdown file, which is a large blob of text.
I have not ...
0
votes
1
answer
137
views
Which Grep command can I use to combine 2 lines of text in BBEdit?
Using BBEDIT Grep command (Find & Replace Functionality) Is there a way to merge 2 lines of text in a single line for 2 columns?
For example:
Ryan Muramatsu
Corporate Venturing Co-Lead at Tokio ...
2
votes
2
answers
463
views
How to remove the text at the end of the sentence after the word 'at'?
I have a big data and looking for a grep command to remove the text and retain the job titles on this sentences, I already used this grep command ^.*?at to get the company names after the word at but ...
1
vote
2
answers
1k
views
Can't change Arch default editor
I want to set nvim(Neovim) as my default editor, I have tried to edit my .bashrc and add this two line:
export EDITOR=nvim
export VISUAL=nvim
and then
$ source .bashrc
but it didn't work. Proof:
$ ...
0
votes
0
answers
151
views
How to show a table of content (TOC) for a text document in KDE's Kate?
Is it possible to show a Table of Content (TOC) in Kate for text documents such as txt files or files without filetype?
Maybe it's possible with some setting that I haven't found or with some plugin (...
0
votes
1
answer
43
views
Text (from file) to running program
I have degenerative bone disease in my hands and would like to make YouTube videos that look like I am typing in a text editor such as Sublime or Kate (KDE).
How can I make a text editor receive a ...
0
votes
1
answer
79
views
What replaces .txt in *nix?
I know that files in *nix don't have to have extensions as in Windows (.txt, etc), so instead list.txt a file could just be named list.
But if we do embrace the file extensions culture in *nix (as ...
0
votes
1
answer
342
views
Is it possible to easily switch between tabs and spaces in nano on MAC?
Is it possible to easily switch between tabs and spaces in nano on MAC. I have seen here how to do that but this doesn't work, maybe because I am working with a mac machine
0
votes
1
answer
413
views
How to strikethrough (a text) in Kate text editor?
So,how can I strikethrough a text in kate or kwrite?
3
votes
2
answers
2k
views
Using Visual Studio Code as EDITOR e.g. with sudoedit
I am using Kubuntu 20.04.
When I run sudoedit /etc/fstab, VS Code opens to a blank document and the CLI immediately returns (see details below).
If I run export SUDO_EDITOR=nano, the document opens in ...
0
votes
1
answer
70
views
Behaviour of crontab -e and environmental variables or configuration of default editor ( Debian )
Operating System: Debian GNU/Linux 10 (buster)
Kernel: Linux 4.19.0-17-amd64
Architecture: x86-64
I am studying behavior of crontab -e. Are following assumptions correct?
crontab -e edits the crontab ...
6
votes
1
answer
10k
views
Using Kate text editor, how to compare two files and find differences
I am using Kate text editor, and I would like to compare two files, and find (highlight) their differences.
Maybe there is a plugin to do that?
I would be open to solutions other than using Kate, e.g. ...
0
votes
1
answer
347
views
Unset/Reset editor set by edit-sources (propably set by select-editor)
After running edit-sources, I was asked to select an editor:
$ sudo apt edit-sources
Select an editor. To change later, run 'select-editor'.
1. /bin/nano <---- easiest
2. /usr/bin/vim....
0
votes
2
answers
5k
views
How to select a word under cursor?
For all text editor or application I'm using, I want to select a word under cursor using keyboard shortcut.
How can I do it?
I tried look around I didn't find anything helpful.
5
votes
2
answers
665
views
What text editor supports positioning the cursor anywhere, even beyond the end of line?
I want an editor that can put the cursor anywhere in the text document, as if it were filled with spaces everywhere.
This way I can place the cursor anywhere and type or paste right away, without the ...
2
votes
1
answer
797
views
Showing line numbers by default in ed
In the ex editor, one can show line numbers by default by adding this line to a .exrc file:
set number
Is there a way to have ed start with line numbers showing by default, when lines are invoked?
0
votes
0
answers
125
views
vim to start edit right below the cursor
In the current behaviour of vim, at least on Ubuntu, it will clean the screen and make new edit window. I would like to just start right below the cursor, for example:
$vi test.txt
[start editing by ...
0
votes
0
answers
220
views
Nano: keyboard shortcut to move cursor to the beginning of the next empty line?
In nano text editor: what is the keyboard shortcut to move cursor to the beginning of the next empty line? If there is no default one, then what would be the right one?
0
votes
1
answer
53
views
Safe to remove Mousepad dependencies in POP_OS?
Note: Originally posted question on Ask Ubuntu and they kindly directed to this StackExchange as more appropriate for a non-official Ubuntu derivative.
Background information.
Currently Running ...
11
votes
1
answer
5k
views
How to quit the `mg` editor?
I tried to use one of my Git aliases and accidentally opened the mg editor. I tried a lof of different keys and nothing seemed to close it. I eventually just used ctrlz to to send it to the background ...
5
votes
1
answer
1k
views
Why a text editor shows different from cat command
I run:
$ man cd > mancd
$ cat mancd
This shows as expected.
But when I open the file with VSCode and vim, they are completely different.
Why is it and how can I redirect the man page to a file ...
0
votes
1
answer
98
views
Is anybody maintaining leafpad?
I'm using Leafpad as the plain-and-simple text editor on my Devuan GNU/Linux. But - I've noticed the Copyright message is from 2010, and the homepage also suggests no recent releases.
I wanted to file ...
-1
votes
1
answer
229
views
How to link in between text document of personal notes with tags (to jump between lines across files in a text editor like Kate)?
I'd like to have keywords in textfiles opened with the text-editor Kate that when clicked jump to a specific line marked with a keyword of another textfile, usually open in another tab in Kate.
Here ...
0
votes
3
answers
1k
views
Researched, but still really confused about Vi vs. Vim [closed]
My first post on unix.stackexchange.com. Please, don't just react by the title of this post as I'm not jumping in having not researched what I'm asking for.
I have done quite a research about Vi vs. ...
3
votes
1
answer
99
views
Is there a way to have an editor like nedit with the possibility to scroll horizantally from trackpad?
I am looking for an editor like an nedit editor where I could move horizontally with trackpad. For the moment, I can only scroll vertically and it is frustrating to not be able to scroll horizontally.
...
4
votes
2
answers
2k
views
Using the caret symbol (^) in substitutions in the vi editor
I'm using CentOS and I was reading about the substitution command, s///, in the vi editor. I wanted to test some of the examples I saw:
:%s/old/new/g Substitutes old with new throughout the file
:....
0
votes
2
answers
854
views
configuring cursor shapes in gnome
First of all, this question is not about the mouse cursor, and not about cursor shapes in a terminal or console. I want to configure the shape of the cursor while typing e.g. while typing this ...
-2
votes
1
answer
455
views
Text Editors with the smallest total LOC
I'm aware of certain Text Editors that would be called "small" in term of LOC, or "Line Of Code". I'm also aware it's no the best way to demonstrate (nor the only one) how small a ...
0
votes
3
answers
438
views
How to read in a user's input in shell script and replace a line with the input after the script finishes executing?
I currently have a script that asks for users to verify their OAuth credentials, which then returns a refresh token. It is annoying for the user to have to place the refresh token in themselves. I ...
0
votes
1
answer
298
views
iterm2 - vim is printing line numbers while scrolling
In iterm2, while scrolling in the vim I see a strange behavior. Whenever I am scrolling it is printing line number with scrolling. How to overcome from this behavior
call-hometic_scale_1.txt" ...
1
vote
0
answers
2k
views
Search and 'in-place' replace strings in binary file
I want search and 'in-place' replace strings in binary file (case-sensitive, colon-separated strings). What method would be more clean, sed or bbe?
sed -i.bak 's/F:O:0/B:A:R/g' file.bin
bbe -e 's/F:O:...