mirror of https://github.com/laurent22/joplin.git
[Documentation] Add example editor config to FAQ (#1036)
* add external editor example config to faq * add external editor to feature listpull/1042/head
parent
d3b4379161
commit
56432dc773
|
@ -98,6 +98,7 @@ The Web Clipper is a browser extension that allows you to save web pages and scr
|
||||||
- Search functionality.
|
- Search functionality.
|
||||||
- Geo-location support.
|
- Geo-location support.
|
||||||
- Supports multiple languages
|
- Supports multiple languages
|
||||||
|
- External editor support - open notes in your favorite external editor with one click in Joplin.
|
||||||
|
|
||||||
# Importing
|
# Importing
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,32 @@
|
||||||
|
# Clicking 'Edit in External Editor' does nothing! / I want to change the editor!
|
||||||
|
|
||||||
|
The editor command (may include arguments) defines which editor will be used to open a note. If none is provided it will try to auto-detect the default editor. If this does nothing or you want to change it for Joplin, you need to configure it in Settings -> Text editor command.
|
||||||
|
|
||||||
|
Some example configurations are: (comments after #)
|
||||||
|
|
||||||
|
Linux/Mac:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
subl -n # Opens Sublime (subl) in a new window (-n)
|
||||||
|
code -n # Opens Visual Studio Code (code) in a new window (-n)
|
||||||
|
gedit --new-window # Opens gedit (Gnome Text Editor) in a new window
|
||||||
|
xterm -e vim # Opens a new terminal and opens vim. Can be replaced with an
|
||||||
|
# alternative terminal (gnome-terminal, terminator, etc.)
|
||||||
|
# or terminal text-editor (emacs, nano, etc.)
|
||||||
|
open -a <application> # Mac only: opens a GUI application
|
||||||
|
```
|
||||||
|
|
||||||
|
Windows:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
subl.exe -n # Opens Sublime (subl) in a new window (-n)
|
||||||
|
code.exe -n # Opens Visual Studio Code in a new window (-n)
|
||||||
|
notepad.exe # Opens Notepad in a new window
|
||||||
|
notepad++.exe --openSession # Opens Notepad ++ in new window
|
||||||
|
```
|
||||||
|
|
||||||
|
Note that the path to directory with your editor executable must exist in your PATH variable ([Windows](https://www.computerhope.com/issues/ch000549.htm), [Linux/Mac](https://opensource.com/article/17/6/set-path-linux)) If not, the full path to the executable must be provided.
|
||||||
|
|
||||||
# When I open a note in vim, the cursor is not visible
|
# When I open a note in vim, the cursor is not visible
|
||||||
|
|
||||||
It seems to be due to the setting `set term=ansi` in .vimrc. Removing it should fix the issue. See https://github.com/laurent22/joplin/issues/147 for more information.
|
It seems to be due to the setting `set term=ansi` in .vimrc. Removing it should fix the issue. See https://github.com/laurent22/joplin/issues/147 for more information.
|
||||||
|
|
Loading…
Reference in New Issue