mirror of
https://github.com/laurent22/joplin.git
synced 2025-04-23 11:52:59 +02:00
Doc: Update the faq for VSCode and Sublime (#3295)
This updates the sublime text and VSCode commands to add options which make them wait before closing. This is borrowed from how you set a different editor for git commit messages, described by github here: https://help.github.com/en/github/using-git/associating-text-editors-with-git This should address #2425
This commit is contained in:
parent
ea57f5655c
commit
a8b8da4732
@ -21,8 +21,8 @@ Some example configurations are: (comments after #)
|
|||||||
Linux/Mac:
|
Linux/Mac:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
subl -n # Opens Sublime (subl) in a new window (-n)
|
subl -n -w # Opens Sublime (subl) in a new window (-n) and waits for close (-w)
|
||||||
code -n # Opens Visual Studio Code (code) in a new window (-n)
|
code -n --wait # Opens Visual Studio Code (code) in a new window (-n) and waits for close (--wait)
|
||||||
gedit --new-window # Opens gedit (Gnome Text Editor) in a new window
|
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
|
xterm -e vim # Opens a new terminal and opens vim. Can be replaced with an
|
||||||
# alternative terminal (gnome-terminal, terminator, etc.)
|
# alternative terminal (gnome-terminal, terminator, etc.)
|
||||||
@ -33,8 +33,8 @@ open -a <application> # Mac only: opens a GUI application
|
|||||||
Windows:
|
Windows:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
subl.exe -n # Opens Sublime (subl) in a new window (-n)
|
subl.exe -n -w # Opens Sublime (subl) in a new window (-n) and waits for close (-w)
|
||||||
code.exe -n # Opens Visual Studio Code in a new window (-n)
|
code.exe -n --wait # Opens Visual Studio Code in a new window (-n) and waits for close (--wait)
|
||||||
notepad.exe # Opens Notepad in a new window
|
notepad.exe # Opens Notepad in a new window
|
||||||
notepad++.exe --openSession # Opens Notepad ++ in new window
|
notepad++.exe --openSession # Opens Notepad ++ in new window
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user