Add script functionality
This commit is contained in:
25
README.md
25
README.md
@@ -64,3 +64,28 @@ quit `lazygit` by pressing `q`.
|
||||
To open a chat window to confer with your ai-bot in chatmode, you can easily
|
||||
open a chatwindow to the left of your main window. To do so, press
|
||||
`Ctrl+<prefix> a`. To close the window, press `Ctrl+d`.
|
||||
|
||||
## Building
|
||||
|
||||
Sometime you want to bulild your project. In this configuration a key-binding is
|
||||
added to the F9 key. Pressing `Ctrl+<prefix> F9` will run a make-script that
|
||||
tests (in order) for the following build-systems:
|
||||
|
||||
- [WAF](https://waf.io)
|
||||
- [Cargo](https://doc.rust-lang.org/cargo/commands/cargo-build.html)
|
||||
- [CMake](https://cmake.org/)
|
||||
- [Automake](https://www.gnu.org/software/automake/)
|
||||
|
||||
The process will open a popup window, in which the build is performed. After the
|
||||
build stops, the window will stay open until a key is pressed.
|
||||
|
||||
## Launch different editor layouts
|
||||
|
||||
The configuration comes with a script named `hxi`, which is installed into the
|
||||
` ~/.local/bin` folder. When the script is started, it launches a new tmux
|
||||
session with a randomised name. In this session, an editor is opened, with the
|
||||
given parameters. Then the script looks for a file named `.tmux.layout`, which
|
||||
needs to be an executeable script file. It then sources the file. and finally
|
||||
attaches to the session, that was created. The sourced `.tmux.layout` file can
|
||||
be used to create an individual layout for the project folder you're in,
|
||||
creating new windows and panes, as needed.
|
||||
|
||||
Reference in New Issue
Block a user