curlpipe / ox

The simple but flexible text editor
GNU General Public License v2.0
3.36k stars 110 forks source link

feat: Add Lazygit Support #176

Open mcmah309 opened 1 month ago

mcmah309 commented 1 month ago

Add support for lazygit. There are two parts.

  1. Add required features for lazygit: Some features need to be added such as editAtLine. Required here: https://github.com/jesseduffield/lazygit/blob/095eb130e9c141a91cf7c4dc9c26f11a07824fec/pkg/config/editor_presets.go#L42

  2. Create a PR in lazygit to add support, modifying this function: https://github.com/jesseduffield/lazygit/blob/095eb130e9c141a91cf7c4dc9c26f11a07824fec/pkg/config/editor_presets.go#L53 and adding to the docs.

curlpipe commented 1 month ago

I'll be sure to look into it.

I haven't used lazygit before, but it looks like a really neat tool