mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-23 12:18:51 +02:00
Fix section levels
These appeared as subsections of "Platform Defaults", which doesn't make sense.
This commit is contained in:
parent
83727d48b5
commit
51d9f70f9e
@ -291,7 +291,7 @@ os:
|
|||||||
open: 'open {{filename}}'
|
open: 'open {{filename}}'
|
||||||
```
|
```
|
||||||
|
|
||||||
### Custom Command for Copying to Clipboard
|
## Custom Command for Copying to Clipboard
|
||||||
```yaml
|
```yaml
|
||||||
os:
|
os:
|
||||||
copyToClipboardCmd: ''
|
copyToClipboardCmd: ''
|
||||||
@ -305,7 +305,7 @@ os:
|
|||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Configuring File Editing
|
## Configuring File Editing
|
||||||
|
|
||||||
There are two commands for opening files, `o` for "open" and `e` for "edit". `o` acts as if the file was double-clicked in the Finder/Explorer, so it also works for non-text files, whereas `e` opens the file in an editor. `e` can also jump to the right line in the file if you invoke it from the staging panel, for example.
|
There are two commands for opening files, `o` for "open" and `e` for "edit". `o` acts as if the file was double-clicked in the Finder/Explorer, so it also works for non-text files, whereas `e` opens the file in an editor. `e` can also jump to the right line in the file if you invoke it from the staging panel, for example.
|
||||||
|
|
||||||
@ -335,7 +335,7 @@ The `editInTerminal` option is used to decide whether lazygit needs to suspend i
|
|||||||
|
|
||||||
Contributions of new editor presets are welcome; see the `getPreset` function in [`editor_presets.go`](https://github.com/jesseduffield/lazygit/blob/master/pkg/config/editor_presets.go).
|
Contributions of new editor presets are welcome; see the `getPreset` function in [`editor_presets.go`](https://github.com/jesseduffield/lazygit/blob/master/pkg/config/editor_presets.go).
|
||||||
|
|
||||||
### Overriding default config file location
|
## Overriding default config file location
|
||||||
|
|
||||||
To override the default config directory, use `CONFIG_DIR="$HOME/.config/lazygit"`. This directory contains the config file in addition to some other files lazygit uses to keep track of state across sessions.
|
To override the default config directory, use `CONFIG_DIR="$HOME/.config/lazygit"`. This directory contains the config file in addition to some other files lazygit uses to keep track of state across sessions.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user