curlpipe / ox

An independent Rust text editor that runs in your terminal!
GNU General Public License v2.0
3.34k stars 109 forks source link

feat: Add Lazygit Support #176

Open mcmah309 opened 4 days ago

mcmah309 commented 4 days 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 4 days ago

I'll be sure to look into it.

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