From dce44d006ef1a06f6a9b78a0a62296f43aafc308 Mon Sep 17 00:00:00 2001 From: thomasschafer Date: Wed, 11 Dec 2024 11:43:04 +0000 Subject: [PATCH] Add Helix config section to readme --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 975e4ef..5758cdb 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,18 @@ cd scooter cargo install --path . --locked ``` -## Neovim configuration +## Editor configuration + +### Helix + +If you are using Helix in Tmux, you can add a keymap like the following to open up Scooter in a floating pane above your editor. The below uses `` but this can of course be changed. + +```toml +[keys.select.ret] +s = ":sh tmux popup -xC -yC -w90% -h90% -E scooter" +``` + +### Neovim If you use Neovim you may want to set up Scooter to run as a floating terminal window, allowing you to use it without leaving your editor. To do so, install Toggleterm as per the instructions [here](https://github.com/akinsho/toggleterm.nvim?tab=readme-ov-file#installation), and then add the following Lua configuration, which opens up Scooter with `s`: