Files
paperclip-harness/.pi/memory-vault/packs/paperclip-harness/80-sessions/lazygit-gitignore-editing-discovery-sanitized.md

2.5 KiB

type, id, title, status, source_of_truth, freshness, last_reviewed, tags
type id title status source_of_truth freshness last_reviewed tags
session session.paperclip-harness.lazygit-gitignore-editing-discovery-sanitized lazygit .gitignore editing discovery (sanitized) active false current 2026-11-13
pack/paperclip-harness
agent-memory/session
session
lazygit
gitignore
TEST-BETA

lazygit .gitignore editing discovery (sanitized)

Discovery snapshot: user found that lazygit offered no way to open .gitignore from the Files panel. Investigation showed:

  • Files panel = changed files only; .gitignore was committed and untouched, hence absent.
  • e requires a selected listed file; nothing to select.
  • Relevant lazygit source refs: pkg/commands/git_commands.(*FileCommands).GetOpenDirInEditorCmdStr, OSCommand.OpenFile, error CommandDoesNotSupportOpeningInEditor.
  • Correct approach: edit .gitignore from a shell (Shell>shell pane or t → nvim in Project>project, which starts in /home/sam/TEST-BETA), or sed -i to strip lines.
  • Keyboard/general mapping: ignore a file via lazygit i on the file; un-ignore only by editing .gitignore; files unchanged in git are not listed in lazygit.
  • Workspace /home/sam/TEST-BETA; ignore entries of interest: /TEST1.md, /TEST2.md, /folder-0; .paperclip intentionally ignored.

Evidence

  • Confidence: 85%
  • Reason: Rich, sanitized snapshot consolidating troubleshooting and conventions useful to future agents.