Questions tagged [text-editor]

A software program that provides tools for writing computer programming code, as opposed to the word processor, which is designed to facilitate writing prose and displaying typography.

Filter by
Sorted by
Tagged with
4
votes
2answers
673 views

OSX app to paste and save HTML content?

In Gmail, I can go to a web page, highlight web content, compose a Gmail message, and paste the HTML content into the email message. It works in Mail.app as well. But what app can I use to just ...
2
votes
0answers
35 views

“Waiting for your editor to close the file” when trying to use Sublime Text 3 as Git editor

I'm trying to use Sublime Text 3 as Git's editor. I ran this: sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/subl Then this: git config --global core....
2
votes
3answers
301 views

Text file preview failing in Finder (perhaps due to Sublime Text?)

I can no longer preview text files (e.g. .txt) in Finder. All I get is a preview pane showing a black square and TEXT. Other files such as .tex files show a normal preview of the contents just fine....
1
vote
2answers
45 views

How to set Xcode as core.editor in git?

My current git config core.editor returns dreamweaver which I set up two years ago from inside the app(IIRC), and now I don't use it. I am receiving error while amending the author of the last commit. ...
1
vote
0answers
19 views

Vim-like clipboard manager with multiple buffers

I am looking to expand the capabilities of my clipboard. I've grown attached to how vim does it; multiple discrete buffers you can 'yank' (copy) text into. I also generally prefer to use the mouse ...
1
vote
2answers
158 views

A file viewer like in Total Commander / Krusader

I use DoubleCommander, which is a decent 2-panel file manager. What I am missing is a viewer for the use case of peeking at a text file, especially logs: quick to load handles large text files (GBs) ...
1
vote
1answer
24 views

How do I insert the cursor after the last word (that is misspelled)?

Latest iOS, using Safari. I am often writing a post on SE and the last word I left off on is a misspelling. For instance ... so I definitely prefer QO to Homeline. * The misspelled word ...
21
votes
19answers
10k views

Editor or notes application with Markdown support?

Are there any editors or notes applications out there that support Markdown? I am often having to make notes or documents where markdown formatting would be ideal, and have gotten into the habit of ...
1
vote
2answers
69 views

Notepad++ alternative with the ability to search in folder [duplicate]

I am looking for an alternative program on macOS, like Notepad++ with two abilities: To write and edit program code, and Search specific string in a folder full of text files.
3
votes
3answers
2k views

Removing a Word From the Spellcheck Dictionary

Somehow, the word procede has made its way into my OS X system as a correctly spelled word. If I type it in Text Edit, BBEdit, or Mail, the spell checker will not mark it with red underlines. How ...
1
vote
1answer
91 views

BBEdit: find / replace in selection

Is there a way to find and replace a word only in the selected text in BBEdit? For example, if I have a large document, is that possible to select only one function which the matching words will be ...
4
votes
2answers
556 views

Keyboard shortcut to scroll window up and down?

In Windows, there's a really useful keyboard shortcut for scrolling the current text editor window up or down by one line without moving the cursor. This appears to be implemented in the operating ...
7
votes
1answer
1k views

How do you cope with tons of web fonts when copying and pasting from web pages?

Whenever I copy something from the web and paste it in my Mail or Evernote, or Apple Notes, it always brings the text style from the page and inserts those weird looking fonts in my mail, or notes. ...
1
vote
1answer
65 views

How to make sublime text the default file viewer for all file types it supports

I want sublime text to open all the file types it supports. For e.g., if I double click on .hpp file, Xcode tries to open it. I want sublime text to open the file. I've looked at RCDefaultApp, but it ...
1
vote
1answer
180 views

BBEdit Code Completion and other features found in Textmate

Sometime back in the early 2000s I switched from BBEdit to TextMate, but now it seems TextMate gets to be long in the tooth while the good folks at BareBones are still at it. The most convenient ...
1
vote
1answer
40 views

change default editor for command line tasks?

I want to create a cron job. Launching a terminal window, and entering crontab -e opens my current crontab, but opens it in the editor vi. I would prefer to use the nano editor. How do I configure ...
3
votes
1answer
2k views

iPhone application to edit text files

I need to edit some local text files on my iPhone but so far, all the apps I have downloaded do not navigate the OS3 file tree for me to open, edit and save them. I need to do this on my iPhone as I ...
1
vote
1answer
1k views

Install SublimeHighlight plugin on Sublime Text 3

I'm trying to copy my code from Sublime Text 3 into my Word document in RTF format with colors in tact by using this plugin: https://github.com/n1k0/SublimeHighlight The instructions say: Sublime ...
0
votes
1answer
33 views

Blank lines appearing in a CSV exported from Excel, only on 1 Mac, other Macs don't see them

My colleague and I both use Macbook Pros on the latest Mac OS. He exports CSV files from MS Excel for Mac and sends them to me, but when I receive them I open them in a text editor and there are ...
0
votes
0answers
60 views

How to highlight variable names in TextWrangler in Unix Shell Script Syntax Highlighting

In TextWrangler I cannot find a way to have variable names in bash highlighted. I.e. I want to highlight all words in a different colour that start with $. In my Preferences I have selected to use a ...
65
votes
8answers
246k views

How do I start TextEditor from the command line?

I work a lot at the command line in a Terminal and would like to start a text editor on a certain file. I'm from Linux Land and normally use kwrite or gedit from a bash shell. Trying to find the Mac ...
2
votes
3answers
658 views

2 Column Text plain text or markdown editor?

I'm looking for a text editor of some kind where it's split down the middle when editing 2 separate files. I'm trying to translate some text and it would be helpful if I could have English and its ...
3
votes
0answers
57 views

WebStorm IDE: How do I put the caret/cursor at the end of every line in a selection?

In Sublime Text, there's a feature that you can select a block of text and hit Command + Shift + L and it places a cursor at the end of each of those lines. I am looking for something similar in ...
43
votes
10answers
53k views

What's the best text editor for use with large files?

What are your recommendation for opening large text files on OS X? I found both BBEdit and Textmate to be struggling in this department.
37
votes
6answers
127k views

How do I edit a .plist file?

What's the best application to open and edit a plist file ?
13
votes
2answers
9k views

Tabs to spaces in BBEdit

How can I configure BBEdit to insert 4 spaces (or at least spaces up to the next column which is a multiple of 4)? I've checked "Auto-expand tabs" in the preferences, but it doesn't seem to be doing ...
0
votes
0answers
75 views

Text selection shortcuts for Finder different in macOS 10.14 Mojave [duplicate]

To test/reproduce: Open a Finder window with multiple tabs and highlight an item (file/folder). Then press return to begin editing the name of the item. On previous versions of macOS, the following ...
1
vote
1answer
39 views

Edit text file in a folder owned by a different user on macOS? I have system admin password

How can I access and edit a text file found in a folder owned by another user? I am in the original user account setup for this macOS Mojave installation, and have the system admin password. So I ...
6
votes
2answers
2k views

Strange Clipboard behaviour on OS X El Capitan

I've been experiencing a very weird clipboard behaviour on my mac. This is my OS I'm a developer and every now and then I need to copy paste code, text or even files around. What I've been ...
4
votes
1answer
2k views

Text editor to search/replace newlines and tabs

A time-saving feature I often used while editing large text files (the kind used for batch processes of data exchanges, aka, "flat files" for feeds between multiple systems) was Notepad++'s extended ...
1
vote
3answers
193 views

Simplest way to capture “keystroke representation” to clipboard

I'm trying to create a cheatsheet for an application I use frequently. the cheat sheet will contain the shortcut keys so I can know what to type. Is there a simple way to capture keystrokes using Mac ...
3
votes
1answer
581 views

unable to indent / shift right multiple lines of text in textedit

New to mac and am not able to highlight and indent multiple lines of text using textedit. I see many solutions that seem to only apply to older version of OSX / text edit. Command + ] is ...
23
votes
8answers
70k views

Has anyone figured out a keyboard shortcut to globally strikethrough selected text in any OS X app?

We have ⌘B to bold, ⌘I to italicise, ⌘U to underline, but we don't (as far as I can tell) have a shortcut to strikethrough selected text in any OS X rich editor. I added a keyboard shortcut into ...
1
vote
0answers
137 views

Tab Stops in Text Editor & Default Word Wrapping

I have noticed in several applications that there appears to be some sort of implicit line width which causes text to wrap. For example, suppose I type in the following: ...
1
vote
0answers
95 views

Add an App to every “Open With” Menu?

Is there any way I can make it so one specific app always shows up in the "Open With" menu, in addition to all of the default options? I want to be able to right-click on a file, and in addition to ...
56
votes
5answers
77k views

How can I open a text file with TextWrangler from the Terminal (command line)?

Often when I work in the Terminal (the command line) I need to edit some text files. I prefer to edit text files using TextWrangler. How can I open a text file with TextWrangler from the Terminal? I ...
91
votes
10answers
80k views

Replace Text Edit as the default text editor

I've seen questions like this which don't quite solve my problem. I'd like to make Sublime Text 3 the default file viewer/editor for all files that currently use textedit. Most of these files can be ...
1
vote
1answer
246 views

Nedit stopped working on my iMac running High Sierra 10.13.4

I installed Nedit on my iMac this weekend. I used it several times and it worked fine. For some reason last night it quit working. When I type Nedit in the terminal window I just get the message ...
5
votes
5answers
522 views

Avoid the terminal process to close, after BBEdit runs a script

I use BBEdit to write and test Python scripts, and I usually run the scripts in a terminal process, with the "Run in Terminal" command. Is there a way to have the terminal process opened by BBEdit ...
5
votes
1answer
829 views

How to clean up emails when replying in plain text?

I have a problem that I want to solve after many years of using Mac OS X Mail.app... I generally like to send plain text emails that are full width (format=flowed) and nicely indented for quote levels....
3
votes
4answers
181k views

How do I insert a tab character in a Google Docs document on iOS?

I'm trying to insert a tab character in a Google "doc", from Google Drive on my iPhone. I have a list Item Thing and I need to insert an a. between 1 and 2 - usually accomplished by pressing the ...
2
votes
1answer
306 views

How to remove right side space in TextWrangler?

In TextWrangler, I have a lot of white area in the editor that goes right well past 100 characters. Then it continues into this gray area. That creates a huge horizontal scroll bar. I really only ...
1
vote
0answers
59 views

Indentation in index in Pages document

In my Pages document, I have a passage in my abbreviations list that looks as shown below: I'm not satisfied with the display of the first item, because on the second line the word inscriptions ...
1
vote
1answer
18 views

Visualize character glyph in Pages application

Is it possible to visualize a particular character (even if it's a special one) in a Pages document ? (I need it for a third-party doc I'm using, to know if certains spaces are just spaces, tabs or ...
1
vote
1answer
45 views

Why does Pages force me to waste the last line in the page?

In the short video below, I'm trying to place the "CIS 256" in a new line below the paragraph ending with "MLQRT". But Pages refuses, insisting that the last line in the page, just below "MLQRT", ...
30
votes
19answers
8k views

Is there a free, lightweight text editor that isn't text-only but also isn't a heavyweight IDE?

I'm not really satisfied with the text-editors available for Mac OS X. I tried TextWrangler, Smultron, Coda, SubEthaEdit, TextMate and others I do not remember. But none of the above satisfied my ...
1
vote
0answers
310 views

Integrate structured editor with Devonthink

I am trying to use Devonthink for more use cases than I did before. What is holding me back from making it my general note-taking tool is the editor situation, and I wonder if it can be improved. ...
0
votes
1answer
223 views

How can I view invalid characters in a file?

How can I view invalid characters in a (text) file? At the left is Notepad++ on a Windows machine. At the right is TextWrangler on a Mac machine. Notepad++ shows me what those invalid characters are, ...
3
votes
1answer
69 views

Weird bar in the bottom-left. What is that?

Sometimes, when I hit a combination of keys (I have not figured out which one) a weird bar in the bottom-left of a screen appears. I cannot get rid of it in any way. The screencast: https://youtu.be/...
1
vote
1answer
2k views

Overtype mode in Terminal.app

As a Linux/Windows user, I am used to switching temporarily to Overtype Mode when using the command prompt. As a new user to the Mac world, I do not know how to change text input mode from normal (i....