diff options
| author | Mathieu Ablasou <alexherbo2@gmail.com> | 2020-11-23 16:47:38 +0100 |
|---|---|---|
| committer | Mathieu Ablasou <alexherbo2@gmail.com> | 2020-11-23 16:47:38 +0100 |
| commit | c84d4e9f2801b09a142b4e80b1fff9425df3ee8e (patch) | |
| tree | c665bfc65fb9d96eb489707f514668bb9a6af1a1 | |
| parent | 9d942c5d5dd21fff3ca125b02ed618dacc106f14 (diff) | |
Add + (connect-popup) command
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | rc/connect.kak | 5 |
2 files changed, 7 insertions, 1 deletions
@@ -51,7 +51,7 @@ require-module connect ## Usage -**>**, **@**, **$** and **&** are [Kakoune commands][Documentation]. +**>**, **+**, **@**, **$** and **&** are [Kakoune commands][Documentation]. The **:** prefixes all [connect.kak shell commands][Commands], and usually have an [alias][Aliases] on a single key – `:[e]dit` and `:[o]pen` for example. @@ -231,6 +231,7 @@ Available variables are: [Documentation]: #documentation - `>` ⇒ Open a new terminal +- `+` ⇒ Open a new popup - `@` ⇒ Open a new REPL - `$` ⇒ Execute commands in a shell - `&` ⇒ Write an attachable program to `connect.sh` and detach the client diff --git a/rc/connect.kak b/rc/connect.kak index 2773201..5e78305 100644 --- a/rc/connect.kak +++ b/rc/connect.kak @@ -47,6 +47,10 @@ provide-module connect %{ connect terminal %arg{@} } + define-command connect-popup -params 1.. -shell-completion -docstring 'Open a new popup' %{ + connect popup %arg{@} + } + define-command connect-repl -params .. -shell-completion -docstring 'Open a new REPL' %{ connect repl-new %arg{@} } @@ -122,6 +126,7 @@ provide-module connect %{ # Aliases alias global > connect-terminal + alias global + connect-popup alias global @ connect-repl alias global $ connect-shell alias global & connect-detach |
