A text editor is a program that allows for editing of plain text files.

learn more… | top users | synonyms (1)

2
votes
3answers
46 views

Is there a way to do concatenated copying of text in os-x or linux?

Say you are copying snippets of a word document into textedit. It is a waste of time to go back and forth for each snippet when you can do it once using concatenation into a copy-queue. Is there a ...
0
votes
1answer
1k views

What after installing sublime lint?

I think things could have been a little more simpler if the developers wanted it.It is really annoyinng to keep searching google to make my php and javascript lint. I followed this ...
0
votes
2answers
2k views

Windows 8.1 64-bit Text Editor for Command Prompt? [closed]

I have used text editors such as -- pico, vi, Emacs, nano, et cetera. I noticed that the windows 8 64-bit Command prompt no longer uses "edit" as far as I can tell. Is there a recommended editor ...
2
votes
2answers
211 views

How do I delete all lines but the last one using unix ed editor from a bash script

I have the following bash file called "file" (the real one does something useful): ed db/seeds.rb <<EOF 1,$-1d a 123 456 . w q EOF When I run "bash file" it doesn't delete any lines. If I use ...
0
votes
2answers
49 views

ssh _from_ Linux _to_ Windows: Which editor to use on Windows machine? [closed]

We have a situation where we have a SSH-server running on a Windows host which we then use an ssh client in e.g. an xterm (or another vt100 compatible client) to connect to, and then get a DOS prompt ...
0
votes
1answer
28 views

CTRL+V does not work in Firefox

Ctrl+v is not working in FireFox 29. I have included clipboard settings in about:config, but it still is not working. Ctrl+c and Ctrl+x are both working. How can I solve this issue?
2
votes
1answer
889 views

open file from Cloud9's terminal (bash) in its IDE

What command would open a file in the default editor of Cloud9's IDE from within its own terminal bash shell? I tried xdg-open and gnome-open but those opens in emacs.
-1
votes
2answers
396 views

WIN7 CMD how to create command to open text files in selected editor

Is there a way to create a command in Windows 7 command line to open some text file in selected text editor? E.g. pspad "text file location" that will open text file in PSPad.
1
vote
1answer
92 views

Need help to replace one tag with another

Anyone can help me on EmEditor Macro? id="131" restype="x-p" phase-name="pretrans"><source>Good morning</source><seg-source><mrk mtype="seg" ...
1
vote
1answer
266 views

Delimited sized columns in notepad++

I'm currently building string messages to send to an IBM server. Basically we have the definition of the fields, but when I build the message using notepad or Notepad++ sometimes I make mistakes ...
0
votes
0answers
62 views

Select text with CTRL+SHIFT+M plus one or more line of code in Sublime Text

This is the sample code: Class foo { function one() { // lines of code } function two() { // lines of code } } I know that hitting CTRL+SHIFT+M inside the curly braces of ...
3
votes
4answers
872 views

Linux Text editors able to work with very, very long lines & fixed length records [closed]

I've got a fairly simple problem here: I have a piece of text which is one giant big line (~150,000 characters). No line breaks, and it's a fixed-length flat file (i.e. it was produced by a COBOL ...
0
votes
0answers
258 views

How to number subsections in Pages on Mac

I'm having an issue with Pages. I'm writing a document with several subsections. The problem is that when I'm using the style (ex: Subsection 2, Subsection 3...), I can't find how to add an index to ...
0
votes
1answer
93 views

Vim delete motions include under the cursor

If you delete backwards in vim, it doesn't delete the character under the cursor. What do you need to do to have it delete, say, back to the last space?
0
votes
1answer
858 views

How to add a prefix to every row of a particular column in a csv file via command line on linux

So basically i am trying to achieve the following.    File before editing.  column-1,   column-2,  column-3,  column-4,  column-5 Row-1-c1, ...
0
votes
1answer
454 views

How can I select text in a straight vertical column, as opposed to horizontal?

I'm trying to diff two text file logs and I'd like to remove the date/time from both files. This always appears in the same place on the left hand side of each line, as below: I was wondering is ...
0
votes
3answers
81 views

Vim Colorscheme

What do I change in vimrc to make the while and if/else/elseif in this screenshot a different color? EDIT----------------------- This is a custom colorscheme and I am wondering what I change in ...
2
votes
1answer
788 views

Vim command mode percent expansion

My typical day-to-day workflow in Vim involves having two vertical panes; production code on the left, and the tests on the right. I frequently switch languages (and test frameworks), so I like to ...
0
votes
1answer
462 views

vim editor full screen in putty

I am using putty to connect to my linux server and if I open any files with vim or vi editor the editor margins are getting limited, whereas the same full screen is coming if I open in XTERM. My ...
0
votes
2answers
35 views

Append text into a file while opened in an editor

Here is the scenario: A user creates a new file X.php let's say using nano. The user writes some content, saves the file (Stage S1) but does not exit the nano. He again make some changes and then exit ...
0
votes
2answers
295 views

Vim: How to append even lines to odd lines

I have the following lines. 1 4 2 10 3 20 4 35 5 56 ... ...(many more lines after this) And I want to change to the following in Vim. 1 4 2 10 3 20 4 35 5 56 ... ... How can I achieve this?
1
vote
1answer
207 views

Komodo Edit auto complete

I am just starting to use Komodo Edit. I have linked to a few CSS files but when I am editing an HTML file and then add a class to an element I would like the editor to guess what I am typing by ...
0
votes
1answer
121 views

Checkpoint code in text editor (like a micro version control)

When I'm editing code, I want to periodically checkpoint my code (ranging from every 10-20 minutes to a few hours). Consider it as a micro version control at local level & something that I discard ...
1
vote
1answer
123 views

Slickedit: How can I set the language of the currently open file if it has no extension?

I'm working on a file without an extension in Slickedit (over Linux). Because it has no extension, Slickedit doesn't identify what language the file is written in. Is there a way to manually define ...
0
votes
1answer
460 views

method to subtract text strings common in two files?

I have two text files, one with 100,000 strings and the other with 1,000 strings, which are already present in the larger file. I'd like to subtract those 1,000 strings, so that the larger file will ...
0
votes
1answer
26 views

Is it possible to convert a text that's in the form of a changelog from oldest-first into newest-first, using vim?

Is it possible to convert a text that's in the form of a changelog into newest-first, using vim? It's like this: version 1.0 multi_line description for 1.0 version 1.01 multi_line description ...
12
votes
1answer
3k views

Highlight all occurrences of a word in Github's Atom text editor

In Sublime Text, if you double-click a word in file, all occurrences of that word are highlighted on the page, giving at-a-glance orientation of how a variable or other text is used in the file. Is ...
0
votes
1answer
196 views

Reload minor mode in .dir-locals.el

In .dir-locals.el, I can only set variables to values, I can't call functions. However, after the following code is executed, I need to disable and then re-enable whitespace-mode: ((nil . ...
-1
votes
2answers
60 views

How to read a 51gb log file?

Well, it seems something went horrible wrong and now I do have a log file with a size larger than 51gb. Are there any (linux) tools that can read/open files of that size? I want to read the log file. ...
0
votes
1answer
247 views

Don't show tabs in Emacs whitespace mode

Normally, I use spaces for indentation, but for a specific project I'm working on the convention is tabs for indentation. So I've made a .dir-locals.el file that looks like this: ((nil . ...
0
votes
0answers
89 views

Multiple files opened as a single tab?

I'm trying to have a single tab open with more than one file, such that when I run bulk replaces, searches, or other macros, and such that when I want to browse through my application, I won't have ...
-2
votes
1answer
101 views

Turn on/off HTML markup while coding?

A frequent problem I'm having when editing web pages is that HTML jargon can get in the way, when I need to focus on just the content for making corrections. Once markup is added to a piece of text, ...
0
votes
1answer
75 views

Win7 Built-in Text Editor with File Change Notify

Is there any built-in software that will allow me to view a text file but will also notify me if the text file I am editing/viewing is changed by another process? There are third-party solutions for ...
2
votes
0answers
24 views

wrap for unspaced languages in emacs

Emacs has a nice wrapping mode called visual-line-mode that is pretty good at sensibly wrapping text. However, it depends almost completely on spaces, which causes the below failure in unspaced ...
5
votes
3answers
293 views

I'm using Bash in “vi mode”. What's the hotkey sequence to edit the current command line using an external editor?

In Bash's "Emacs mode" (set -o emacs), I can edit the current command line in my favorite external $EDITOR. All I have to do is press Ctrl+X then Ctrl+E. But, because I have switched to Bash's "vi ...
0
votes
1answer
423 views

Better setting of EDITOR environment variable to use Sublime Text 2 as system editor?

I want to use Sublime Text 2 for editing Git commit messages. Right now I have the following in my bash rc file: export EDITOR="sublime -nw" This works well if Sublime is already running. But if ...
1
vote
2answers
100 views

Extracting quotations from a movie / tv transcript in Notepad++

I have a transcript of a 3 hour documentary that is filled with quotes I'd like to share. The transcript is huge so going through it manually would take forever. So basically, I just want to remove ...
0
votes
1answer
164 views

EditPlus doesn't have find-file-by-name functionality?

A friend of mine has used EditPlus for over 5 years and says he never finds file by a name. Is there no such functionality in that editor? (I find this hard to believe!)
1
vote
1answer
60 views

The ed text editor and line feed

With ed can I add line feeds (\n)? I've tried: s/word/word\n/ But it it just gave me a plain "n" after word. With double backslash appeared "\n". With sed this works as expected, but with ed not. ...
0
votes
1answer
874 views

What are fast ways to switch between text styles (font, size, etc) in Microsoft Word or other word processing software?

Many times I need to switch back and forth between 2-3 different styles when writing a document. I dislike needing to manually click to change the style in the user interface and would like to use a ...
0
votes
1answer
43 views

How can I generate a large amount of standarized strings in a .txt file?

I'm in need of some large amount of strings generated in a .txt file. The format is number1:number2, number1 goes from 1030 up to 1130, number2 goes from 0 up to 15. Example: ...
0
votes
2answers
203 views

What is Sublime Text 2’s equivalent to vim’s Ctrl+P?

Sublime Text is great, but Ctrl+P (and Ctrl+N) in vim (inserting a word with same starting characters in insert mode) is such an essential feature that I just cannot live without it. Is this ...
-1
votes
1answer
58 views

VIM replacement? [closed]

What I do: PHP (Laravel 4, Yii, Drupal 7, bare) C/++ (GTK+, Qt 4/5) Ruby (+Rails) Perl (rarely, but still) Python2/3 (sometimes + Django) JavaScript (Node.JS, jQuery, Angular.JS) HTML CSS (+SASS, ...
1
vote
3answers
10k views

Simplest way to get XML node count

I have some XML files for which I want to get the count of nodes. However, I don't want to go and start coding. I have checked some XML tools like Notepadd++ XML Plugin, Cygwin xmllint, XML Notepad ...
0
votes
1answer
49 views

Using vim for creating fixed width text?

I've got text in the form xxxx yyyyy xx yyyy xxxxxxxx yyyyy x y I'd like the second set in each line to begin at the same point ie xxxx yyyyy xx yyyy xxxxxxxx yyyyy x y I ...
5
votes
2answers
8k views

Change default text editor to Sublime Text in Linux Mint

I've installed Sublime Text 3 from the .deb found here: http://www.sublimetext.com/3 Now, how to set it as the default text editor in place of gedit in Mint 16?
3
votes
1answer
1k views

vim inside tmux: throws “E388” with <C-Left> in insert mode [duplicate]

I've read that in insert mode in vim, one can use <C-Left> and <C-Right> to move by words. This works for me, but only as far as I don't run vim inside tmux terminal splitter. When inside ...
2
votes
1answer
154 views

Are there any lite text editors in console mode on Windows? [closed]

I know a few: Renowned text editor: MS-DOS Editor Vim/Vi But, MS-DOS Editor is a 16-bit software which cannot be run in Win7 (64-bit), and Vim/Vi is not lite. Are there any lite text editors in ...
1
vote
0answers
70 views

Sublime Text 3: Move caret up/down between displayed lines

With soft-wrapping enabled, 1 text line could occupy multiple displayed lines -- depending on how wide the window is. By default Up/Down arrows move carets between actual lines. I was wondering ...
0
votes
1answer
56 views

TextMate-like bundle editor for Sublime Editor

I know that Sublime Text has packages and also a package manager you can use to install additional bundles. For example, I installed the Go bundle but I'd like to extend it by adding some custom ...