-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to open file in terminal editor #103
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,6 +129,7 @@ Functions of the items are as follows. | |
* `"filebrowser"` application to handle opening folders | ||
* `"webbrowser"` application to handle opening urls (web browser) | ||
* `"terminal"` terminal emulator application | ||
* `"terminal_editor"` application used to edit files directly in the terminal | ||
* `"indicator_submenu"` symbol to indicate a submenu item in the cache | ||
* `"indicator_edit"` symbol to indicate an item will launch an editor in the cache | ||
* `"indicator_alias"` symbol to indicate an aliased command in the cache | ||
|
@@ -195,7 +196,8 @@ Dmenu-extended understands the following modifier characters when entering a spe | |
1. **+** (plus) - Manually add an entry to the cache | ||
2. **-** (minus) - Remove a manually added entry from the cache | ||
3. **:** (colon) - Open with | ||
4. **;** (semi-colon) - Execute in terminal | ||
4. **@** (at) - Open in default terminal editor | ||
5. **;** (semi-colon) - Execute in terminal | ||
|
||
These modifiers are entered into the menu; examples follow. | ||
|
||
|
@@ -228,6 +230,10 @@ There are a few different ways to use the colon operator, summarised by example | |
* `/home/me/Documents/writing.txt:gedit` - Open this file with gedit. | ||
* `gedit:/home/me/Documents/writing.txt` - Open this file with gedit. | ||
|
||
### **@** (at) - Open in terminal editor | ||
|
||
Default editor is set to `vim`, but it can be changed in the preferences (`"terminal_editor"`). The terminal window is closed as soon as the application is exited. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If you could put an example in here for the way to use the operator like the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I added an example, since also There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Perfect! Thank you :) |
||
|
||
### **;** (semi-colon) - Execute in terminal | ||
Dmenu-extended doesn't know when the application you enter needs to be executed in a terminal window. To tell dmenu-extended to launch the following in a terminal, append a semi-colon to the end. Once the terminal program has exited the terminal will close. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a note that the
@
symbol must come at the end of the command?