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

learn more… | top users | synonyms (2)

0
votes
0answers
12 views

How do I edit files in LXC?

I have a Centos 6.6 running on lxc. I would like to edit files using Sublime or Gedit but not as a root user. Presently I do a gksudo editor and then open rootfs folder. Is there a better way of doing ...
0
votes
1answer
19 views

How to switch from input mode into command mode in ed ?

As far as I know, ed starts in command mode. Once I input i,a or c ed changes into input mode. So far it worked. Now I read that in order to switch from input mode into command mode one has to input ...
23
votes
11answers
4k views

Text editor with split screen option

Is there an editor which has the option to "split the screen" into two or more parts, accessing more than one file (possibly with a file tree) without opening more editor windows at once, and how ...
0
votes
0answers
5 views

CAJA: make all files with a given suffix get a given file type

Currently, my files with the suffix (extension) .def are recognized as generic "plain text files", and are opened in gedit, which I prefer for plain text files. However, my .def files are actually a ...
0
votes
2answers
42 views

How to weave the words of a string into a block of strings in vim?

Given a string and a block of strings e.g. String: Use three words. Block: This is the first string of another block of strings. This is the second string of another block of strings. This is the ...
9
votes
2answers
2k views

Why would someone use joe?

I've seen some skilled unix/linux users use joe instead of vi(m) or nano. Why would they prefer using it over the provided alternatives?
0
votes
2answers
2k views

Installing a light table(editor) in debian

I want to install lighttable programming editor in kali Linux(debian).I have downloaded the tar.gz version from here. But I am unable to install the light table .Please help in regarding this. ...
0
votes
1answer
24 views

Moving by page without chords in Vim

Often I want to skim through a document or piece of code, which I do with page down (Ctrl-D) and page up (Ctrl-U), but it feels like I am violating the spirit of Vim using emacs-like chords/control ...
5
votes
5answers
192 views

Is it possible to have more than just one backup when editing text files?

Gedit and medit are two text editors that I know of that allow me to save a backup. So, if I create a file called temp.txt the next time I edit it and then save it, I'll have a backup called ...
3
votes
4answers
787 views

Editor for markdown tables

Is there any tool for linux which makes it easier to generate and edit tables for markdown?
3
votes
1answer
571 views

How do I make Kate indent with spaces on Python files but use tabs for text files and other files?

My goal is to set Kate up to work properly on Python files but to use different settings (tabs not spaces) on other documents. I'm sure others are doing this, but I can't figure out a convenient ...
0
votes
1answer
40 views

Is there something similar to the Notepad++ session workflow?

Is tmux+vim/nano the closest thing to the Notepad++ workflow (in recent versions of Notepad++ that automatically save session state)? I really miss that, it was convenient to just dump text I copied ...
2
votes
1answer
104 views

A Sublime editor feature for vim… File pre-view?

I was wondering if there was a vim plug-in for the Sublime editor feature showing a smaller version of the file currently being edited, generally in the right hand side of the window -- see picture ...
0
votes
0answers
8 views

Sublime installation without admin access? [duplicate]

Is there any way to install Sublime locally without admin access? As far as I have explored all of the existing installations assume that you have access to admin.
2
votes
4answers
59 views

Linux log file structure change, abnormal (?) sed behaviour

Ok, so I tried to get this 0x0000: 4500 0044 68f7 4000 4011 25c7 8083 d0bf E..Dh.@.@.%..... 0x0010: 8083 da24 85b1 15b3 0030 1e8b 3132 3033 ...$.....0..1203 0x0020: 3132 2e37 3836 3036 2c20 ...
2
votes
1answer
187 views

Expanding text format in VI

The following code is taken from the superfish module for websites: (function($){$.fn.hoverIntent=function(f,g){var ...
1
vote
1answer
84 views

In VIM how do you run a command silently in the background?

I'm using ubuntu and currently have the following line in my vimrc file: nnoremap < leader >dc :execute 'silent !drush cc all' | redraw! The command works but it doesnt hit me back to the ...
3
votes
2answers
9k 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 ...
1
vote
1answer
201 views

Choice of editor when running under sudo

On an Ubuntu 12.04 machine I've used the alternatives system to set the editor to vim.basic. I get the correct editor when root but not when I sudo to root and run crontab, and I'm trying to ...
1
vote
1answer
61 views

What does “position” mean in iconv error message?

I get error when converting a large file: $ iconv -f GB2312 -t UTF-8 2001.txt -o 2001_u.txt iconv: illegal input sequence at position 245256667 What does the position mean in this error? I tried it ...
0
votes
1answer
59 views

Cursor keys do not jump over tabs in Vim

When I step over a tab with the cursor keys (h and l), the cursor does not jump over the tab, it just goes one space at a time. This is annoying because I am not sure if there is a tab there or ...
1
vote
1answer
27 views

why does emacs stop superuser from editing files without permissions?

If I have a file I want to edit, as root, I should have the ability to modify it regarless of the permissions. But this does not seem to be the case with all text editors, emacs in particular. If ...
12
votes
4answers
32k views

How do I quit from Vi?

I started Vi on my Ubuntu machine. However I don't know Vi, and now I can not quit. I see the editor and I can write text, at the bottom line there is a label "recording". How do I quit from Vi?
0
votes
0answers
39 views

What are some preferred methods to efficiently edit files on a remote Unix server?

I'm looking for a more efficient GUI-based solution to edit root-owned and root-only writable files than using either nano or vim, both of which of course limit your cursor to navigate one character ...
6
votes
1answer
115 views

Can I specify the layout of a vsplit command?

When I do the :vsplit command, it always opens the new file on the left side of the screen. Is there a way I can specify I want the new file to open to the right?
1
vote
3answers
507 views

Text editor with indented word wrapping

I've been using Notepad++ in windows for a while and it has a cool feature for word wrapping so that the wrapped text is indented. That is the start of the sentence starts at column 1, but wrapped ...
1
vote
1answer
70 views

dot command in Vim, last change?

The dot command in Vim repeats the "last change", but I am not exactly sure what constitutes the "last change". For example, if I type the sequence: A;{ESC}j. Then a semi-colon is appended to ...
12
votes
9answers
4k 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 ...
1
vote
1answer
85 views

Does Kate support HTML5?

I am editing a long HTML document in Kate, and I'd love to be able to "close" the parts I'm not currently working on. But this is a new document, and the highest level of modularization uses section, ...
1
vote
0answers
74 views

Kdevelop over SSHFS sometimes stutters last few lines on save?

Sometimes, but not always, a certain file, when saved with Kdevelop over SSHFS to a remote server, will include the last n lines of the file repeated. N is variable from save to save. The file that ...
8
votes
3answers
439 views

Vim: pasting lines line by line

Let's suppose I have a file containing: xxx yyy zzz and another file: kkk qqq ppp I want to obtain: xxxkkk yyyqqq zzzppp Is that possible in Vim with some command? (I've tried using VISUAL ...
25
votes
5answers
15k views

vim - better colors so comments aren't dark blue?

Mostly I edit ruby files, although shell script file comments are also # Currently my comments show as dark blue on black which is really hard to read. See screenshot. How can I change their color? ...
0
votes
2answers
276 views

How to get permission for editing fstab file in debian [duplicate]

I wanted to change my fstab file to be able to solve "Error mounting" (I tried to delete the last line of fstab file) # /etc/fstab: static file system information. # # Use 'blkid' to print the ...
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 ...
0
votes
0answers
32 views

terminal text editor with Windows like hotkeys [duplicate]

As a Windows user (please forgive me) interacting with GNU\Linux through SSH I am looking for a terminal-based text editor that has similar hot keys to most Windows text editors which I have grown ...
4
votes
1answer
255 views

Presentation Tools Back In The Day

Which tools were around »back in the day« to aid presentation Unix/Linux environments? I just wondered how somebody would accomplish something like slides in a e.g. text-based environment or low-end ...
3
votes
2answers
1k views

In emacs (or other editor) how to display the byte offset of the cursor?

The question indicates my preference to use emacs, but the overriding issue is that I want to be able to do a normal text search and somehow see/copy-paste the byte-offset of the matched text. To ...
1
vote
3answers
3k views

What is the native Gnome equivalent for Kile?

I was using Kile for editing Latex documents, but after latest package upgrade (I am running Debian Testing) all Kde applications are running reeeeaaaallllly slow - so I am looking for a temporary ...
2
votes
2answers
216 views

Sed? Stripping all formatting, i.e line breaks and whitespaces, from a report text file, while masking out certain pieces

I am working on a project in which I need to remove all formatting from a text file including whitespaces and line breaks, then replace any colons with pipes. I've made some headway but I cannot find ...
-1
votes
2answers
61 views

Editing files in debian before installation

I am having problems installing debian on virtualbox. The installation step fails when trying to configure packet manager. The guy in the following post had them solved by editing a certain file ...
2
votes
1answer
338 views
1
vote
1answer
179 views

Gummi: Extend with Markdown functionality, or suggest Markdown editor

I use Gummi for my LaTeX work, and I use online Markdown1) editors, for quick note taking, making protocols, and making quick handouts, etc. I'd like to combine both. Is there any way, to extend ...
2
votes
7answers
821 views

Can you recommend a GUI text editor for a developer (features needed are inside)? [closed]

F-cked up with all IDE bloatware (for my purposes they are all overcomplicated and inconvenient), I came to an idea, that I'd probably better use a good editor than an IDE. I DON'T need projects, I ...
2
votes
1answer
125 views

Windowing system strictly for code editing? [closed]

I'm a usability obsessive and I can't help dreaming about how nice it would be to have a windowing system configured for nothing but editing code... mostly it would be ultra minimalist, with just ...
-1
votes
1answer
22 views

Which editor (or plugin) makes a version control workflow feel most first-class? [closed]

By "first class" I can just work by forking and merging my code willy-nilly, several times every minute, without ever thinking about the VCS.... I'm looking for an editor environment where the most ...
1
vote
2answers
1k views

Problem when changing the font size in nedit

Whenever I open Nedit, the following error appears ---- Cannot convert string "-*-helvetica-medium-r-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct Cannot convert string ...
5
votes
6answers
2k views

Seeking alternative GUI File editor with large file support

Can anyone recommend a file editor, preferably free, that handles large files as well as EmEditor on Windows? I'm on Ubuntu, but other people reading this might not be, so suggestions for other Unix ...
0
votes
1answer
443 views

Open program in another terminal window windows-solaris

I am running Attachmate Reflection for UNIX and logging into my Solaris system. I then want to open a file with nedit but I get an error: NEdit: Can't open display So, I type in xhost + and ...
2
votes
1answer
132 views

What does ^@^@^@ mean in a text file?

Sometimes I have problems with opening a file using a graphical text editor -- I'm using geany. The file can be read by vim without a problem. I checked the file, and there wasn't anything wrong with ...
2
votes
4answers
282 views

How to edit/delete a .dot_file on mac without using Terminal

When I start Terminal I can not control it. It starts executing an endless loop repeating that some alias does not exist. Because of this I am not able to edit this file using a program such as vim. ...