2022 Developer Survey is open! Take survey.

Questions tagged [editors]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
25 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 (...
user avatar
  • 3,430
0 votes
0 answers
11 views

Is there a gui ".texi" editor for translation purposes such as poedit?

Is there a gui ".texi" editor for translation purposes such as poedit? How i can edit / translate texi files with easiness when they include a batch of code? is there a linux program that ...
user avatar
0 votes
1 answer
20 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 ...
user avatar
  • 125
0 votes
1 answer
53 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 ...
user avatar
0 votes
1 answer
26 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
user avatar
0 votes
0 answers
13 views

Multi-Tab Scratch Pad That Never Asks You Anything - AutoSave

I've used numerous text editors, but I can't seem to find one that meets my requirements for temporary notes. I just want a place I can type things, and the things I type survive a reboot, but I also ...
user avatar
  • 4,313
0 votes
1 answer
101 views

How to strikethrough (a text) in Kate text editor?

So,how can I strikethrough a text in kate or kwrite?
user avatar
  • 11
0 votes
0 answers
45 views

Notepad++ (via Wine) missing some fonts (or they work differently than in the rest of the system)

Most of the fonts that I installed in my system are available in the "style configurator"/"styler" (in "define your language") of Notepad++, but not all do. For example I ...
user avatar
3 votes
2 answers
880 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 ...
user avatar
  • 357
0 votes
1 answer
44 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 ...
user avatar
  • 359
2 votes
1 answer
2k 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. ...
user avatar
  • 229
0 votes
1 answer
30 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....
user avatar
  • 279
-1 votes
2 answers
73 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.
user avatar
  • 231
5 votes
2 answers
416 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 ...
user avatar
  • 739
1 vote
1 answer
154 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?
user avatar
  • 332
0 votes
0 answers
25 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 ...
user avatar
  • 1
0 votes
0 answers
23 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?
user avatar
  • 355
0 votes
1 answer
37 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 ...
user avatar
5 votes
1 answer
2k 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 ...
user avatar
  • 173
5 votes
1 answer
582 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 ...
user avatar
  • 599
0 votes
1 answer
63 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 ...
user avatar
  • 7,249
-1 votes
1 answer
74 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 ...
user avatar
  • 3,430
0 votes
3 answers
459 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. ...
user avatar
3 votes
1 answer
60 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. ...
user avatar
4 votes
2 answers
806 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 :....
user avatar
0 votes
2 answers
327 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 ...
user avatar
  • 11
-2 votes
1 answer
145 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 ...
user avatar
0 votes
3 answers
177 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 ...
user avatar
0 votes
1 answer
161 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" ...
user avatar
  • 131
1 vote
0 answers
862 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:...
user avatar
  • 437
2 votes
1 answer
308 views

How can I examine the Unicode encoding of a text document

Given a text document or string in an encoding such as UTF-8, what is the easiest way to find out what Unicode encoding represents the characters I see? I should like to find out which code points ...
user avatar
  • 162
0 votes
0 answers
48 views

Terminal editor/pager that allows jumping to particular line based on external command or file?

I'd like to script something so that an existing process viewing a listing file jumps to a particular line. The process might be less or nano or, if need be, another pager or editor. I would, if ...
user avatar
  • 121
1 vote
1 answer
47 views

Open file with vi in konsole by default

I am running Fedora 32 with KDE env. In dolphin, I would like to open '.m' files using vi in konsole by simply clicking on this file. In short, if my file is "toto.m", I want the command "konsole -e ...
user avatar
  • 300
2 votes
2 answers
155 views

MS Word alternative with math mode

I'd like to know about MS Office possible alternatives for Gnu/Linux with possibility to write in math mode, that is to write equations; at least angle signs and triangle signs. I am going to send ...
user avatar
0 votes
1 answer
871 views

How to batch-edit pdfs to remove headers and footers

I have a large number of .pdf files with much the same headers and footers that I’d like to remove. Is there a something that can remove everything up to a known string and everything after a ...
user avatar
2 votes
4 answers
174 views

Use substitution to delete everything up to a point on a line

I want to use a global substitution in Vim to delete everything up to https. Before The website is https://website.com The website is https://website.com The website is https://website.com After ...
user avatar
  • 323
1 vote
2 answers
514 views

tail command does not display last line

I am using the following command to read the last line every time the file changes. tail -f -n1 Entrie.txt It happens that the first line written shows it without problems, but later when I write ...
user avatar
1 vote
1 answer
106 views

Need program - "editor" that lets you check-mark lines to keep

I was wondering if anybody could recommend a program or plug-in (for an editor) to solve the following problem: I have a file with a large list (one line per item). I need to manually go through ...
user avatar
2 votes
1 answer
94 views

Geany: Ruby comments in erb.html break the syntax highlighting

I use Geany (v1.123.1), my favourite text editor for code editing, as it's nice and simple. One thing which it doesn't do right is the syntax highlighting of comments, in erb files (a type of ruby ...
user avatar
  • 1,027
0 votes
0 answers
104 views

Xed : highlight selected text occurences?

I'm using Gnome Xed text editor. Is there a way to auto select all occurrences of currently selected-text across the document. If Xed cant do it, what other linux text editor can do it ? How ?
user avatar
  • 103
0 votes
1 answer
42 views

:n and :N not working when opening files with

Okay so I have already gone through this. So I know you can edit multiple files in VIM if you open them up in the following way: vim file1 file2 and you can change files using :n and :N. But what if ...
user avatar
  • 883
0 votes
1 answer
185 views

How to find special characters (say like the musical symbol which denotes when a song is being played

Sometimes I edit subtitle files (.srt) and at times I get a place where the music symbol should be used. I am nonplussed as to how to get the music symbol to come up in the editor. I use editors such ...
user avatar
  • 10.8k
0 votes
1 answer
39 views

VIM difference beetwen ] and . (Marks)

What is the difference between ] and . in marks? I can't understand the difference. I noticed that if I enter insert mode (without inserting anything) and go out, the line in question appears in the ...
user avatar
0 votes
1 answer
136 views

List of MARKS. Duplicate lines

The numbered marks, are used for trace history of the cursor position in the last closed session vim...and ok. therefore: 0 contain last position of the cursor before close VIM, 1 contain the ...
user avatar
1 vote
0 answers
142 views

Kate Editor: force Python files to use spaces instead of tabs

For Python files, I must use spaces for indenting. My default Kate editor setting uses tabs. I don't want to change the default, but I want to configure the proper settings for Python files. I found ...
user avatar
  • 15.4k
-3 votes
1 answer
337 views

How do I un-comment lines in this configuration file?

## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a ...
user avatar
  • 1
4 votes
1 answer
936 views

How to open the crontab of another user in my editor of choice?

I work in a team. We have a CentOS Linux machine. There's a user there called www. We run cron jobs as that user, i.e. I can type sudo -u www crontab -e to see/edit the crontab, and my teammates do ...
user avatar
  • 205
1 vote
1 answer
142 views

Can you run vim (or another editor) in two shells at once on a single file, in a coordinated way?

I am interested in having a single file open with vim in two shells at once. The use case I have in mind is two windows of gnu screen running on a tty. The catch is that I would like the instances of ...
user avatar
  • 625
1 vote
0 answers
238 views

Text editor for Linux that auto-saves even new files

I'm transiting from MacOS X to Linux (currently mostly using the Gnome GUI, but I like KDE also, so my question applies to any of these interfaces). MacOS' TextEdit has a feature which allows all ...
user avatar
  • 241
2 votes
1 answer
134 views

Changing default editor

There are two ways to change the default editor: update-alternatives --set editor /bin/nano export EDITOR='/bin/nano' added to ~/.bashrc (single user) or /etc/profile.d/ (all users) Is there any ...
user avatar
  • 1,413

1
2 3 4 5
7