Skip to content

Document new lazygit edit command config #101

Open
@jesseduffield

Description

@jesseduffield

(First off sorry but I've lost the issue template and can't get it back upon reload)

Lazygit maintainer here: thanks for making this plugin, lots of people find it really valuable.

Lazygit has a new config structure for specifying how file are edited like so:

os:
  edit: 'myeditor {{filename}}'
  editAtLine: 'myeditor --line={{line}} {{filename}}'
  editAtLineAndWait: 'myeditor --block --line={{line}} {{filename}}'
  editInTerminal: true
  openDirInEditor: 'myeditor {{dir}}'

I'm not sure how this fits onto neovim (I've been intending to get into neovim but haven't found the time) but it would be good to document what the corresponding values should be when using this plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions