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

learn more… | top users | synonyms (2)

1
vote
1answer
36 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 ...
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 ...
1
vote
1answer
20 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
35 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
354 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 ...
17
votes
5answers
2k 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
1answer
568 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
2answers
64 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
186 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 ...
3
votes
1answer
145 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 ...
2
votes
2answers
74 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
46 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
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?
1
vote
1answer
66 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
775 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
69 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
20 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
712 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
7answers
1k 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
130 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
93 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
72 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. ...
0
votes
1answer
61 views

Can't insert spaces in code editors

Since i recently installed CodeBlocks, I can't insert spaces in codeblocks, codelite or mysql-workbench editors. When i press space the editor interprets it as a completion key unless there is no word ...
1
vote
1answer
47 views

How do I remove the 'split lines' error in Bluefish?

How can I stop this error from occurring every time I start Bluefish editor? Of course, apart from shortening long lines... Bluefish 2.2.4, running on Fedora 19. Edit: I have done this in ...
2
votes
1answer
203 views

Beep when typing backslash in cvim normal mode

I installed the cvim plugin for vim. Almost all the cvim commands start with '\'. But I when enter this character in normal mode, all I hear is a beep. Nothing happens. What might be causing this ...
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 ...
1
vote
2answers
582 views

Simple console text editor suited to python

I am looking for a light weight shell editor for Linux that a young child (eg 7-8 year old) can write python scripts in. The motivation is to find something that is helpful for a beginning programmer ...
5
votes
4answers
167 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 ...
1
vote
3answers
48 views

Terminal editor with “project pane”

Most GUI text editors have a "project pane" that's just a directory tree that you use to choose what file you're currently editing. What's a terminal text editor (or a VIM/emacs plugin) with this ...
1
vote
0answers
126 views

SciTE Auto Save Temporary File

I was running an application that seemingly froze the GUI of my Linux distro. After a CtrlAlt Backspace I got back to a terminal and reloaded the GUI. However, even with the below User Options ...
5
votes
2answers
379 views

Lowercase all but the first (Uppercase) letter from UPPERCASE in cyrillic

To make all letters a lower case except the first letter. The first letter would look like "Uppercase" after I changed (from UPPERCASE in cyrillic). The rest (not UPPERCASED) leave unchanged. I'm ...
3
votes
5answers
579 views

How to align fstab entries easily

Editing /etc/fstab with my text editor makes all the spacing go out of alignment. I could go through the file and insert/delete spaces to line everything up, but I'm looking for a more automated ...
1
vote
4answers
129 views

“Multipass” scripted modification of large file in-place (file-system level)?

I have just came to the problem of having to cut some lines from a large (gigabyte) sized file, and being aware of potential CPU hog trying to read it in memory, I wanted to edit it in-place ...
1
vote
1answer
70 views

xDebug compatible PHP editor/IDE for LXDE

Which PHP editor/IDE supports line by line debugging using xdebug on LXDE?
13
votes
4answers
2k views

How to edit command line in full screen editor in ZSH?

In bash, using vi mode, if I hit Esc,v, my current command line is opened in the editor specified by $EDITOR and I am able to edit it in full screen before 'saving' the command to be returned to the ...
7
votes
6answers
6k views

Modifying PDF files

I need to do some basic editing on existing PDF file. I.e. I need to: Add chapters/bookmarks Change some page numbering However I cannot find any tool - GUI or commandline - which would offer this ...
2
votes
2answers
200 views

Quickest way to find and replace a string in numerous HTML files

I have numerous HTML files all nested inside different folders contained in a single overall folder. In each of these HTML files I need to replace /contact/index.html With /contact/index.php ...
5
votes
2answers
616 views

How to re-run vim auto-indentation on a tex file?

I have a LaTeX source file with its indentation messed up. I am looking for a way to force vim (may be through one of vim-latex-suite commands) to re-run the automatic indentation commands over the ...
3
votes
2answers
112 views

Viewing very wide files

I need to view some 5,200 byte wide files. Is there any tool to make this practical without modifying the file? Ideally, I'd like to specify which columns I'm viewing.
3
votes
4answers
3k views

Advantages (or downsides) of GVim over Vim to edit code

Should I install vim or GVim ? I develop mainly Ruby on Rails (I also use IDE's, but different topic). Are there any differences or advantage of using Gvim vs vim ?
-1
votes
1answer
109 views

How to use colors/colorschemes/fonts in vim effectively so that the text is as readable as possible

I am trying to be more productive in vim and as part of this I am trying to make the text presentation i.e. colors etc as nice to the eyesight as possible. Although I managed to change the default ...
2
votes
1answer
58 views

Why do text editors set the mtime on save when no changes have been made?

When I am using sublime, and I've made no changes then the icon in the editor shows the file is unchanged. However, if I click to save it, it still sets the filesystem mtime time to now. Should a ...
1
vote
3answers
348 views

Is there any text editor that will show code highlighting for Visual Basic code?

I have some Visual Basic Application (VBA) code that I need to tweak. Note: I don't need any help in the coding aspect of it; this is not a programming question. When I opened the .vba file in Kate ...
0
votes
3answers
218 views

Make VIM act as Notepad++ on mixed line endings

I've googled all around and found tons of weird solutions to ^M problem, but couldn't find one and simple: how could I just open any file, like in Notepad++ and work on it? I don't want to mess with ...
1
vote
1answer
293 views

Vim Visual Mode - is there a way to change the background color only when in visual mode?

I forgot which mode I am in using VIM so I set this up in my .vimrc so that I easily know I am in Insert mode as the background changes to Yellow :au InsertEnter * hi Normal term=reverse ...
4
votes
1answer
319 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: ...