pub / helix-term

Interactive console for the Helix-Editor using TMUX
git clone https://https://src.jayvii.de/pub/helix-term.git
Home | Log | Files | Exports | Refs | README | RSS

commit cf6855e101b40895d50a882095459bfb893d9523
parent 412b89fb3f626ae442b556d3199a06e072b95162
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sun, 19 May 2024 14:07:17 +0200

Add further details on advanced usage

Diffstat:
MREADME | 25++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/README b/README @@ -29,7 +29,7 @@ terminal window or by splitting the terminal window helix is running in (ctrl+h or ctrl+v). For example, if you want to run the R-REPL, issue following command: - helix-term R + helix-term R This creates a temporary file in the current working directory "./.helix_session" containing the current session's ID (base64 encoded path). @@ -40,3 +40,26 @@ From helix, you can now send commands to the REPL via Ctrl+C, Ctrl+C. In normal mode, this send the current code paragraph the pointer is located within. If in insert mode, the shortcut enters normal mode and goes on from there. If in selection mode, the current selection is send to the REPL. + +Advanced Usage +-------------- + +Here are some tips which may make usage a little easier or may workaround issues +I stumbled upon while using this setup. + +General +- - - - + +1. Adding an alias for helix-term to your bash configuration. For example: + + echo "alias hxt=helix-term" >> ~/.bashrc + echo "alias hxtr=helix-term R" >> ~/.bashrc + +GNU R +- - - + +1. Opening help-files in your web-browser rather than a "less" window in the + terminal. this leads to unblocking the R-session, while looking up a + function's manual: + + echo "options(help_type='html')" >> ~/.Rprofile