Add system default app integration to Neovim

- Add <leader>o keymap to open current file with system default application
- Uses ':silent \!open %' to prevent command output clutter
- Update README with new keymap documentation
- Enables quick preview of markdown, images, PDFs in native apps

Enhances workflow by bridging Neovim editing with system-level file viewing.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Yan Lin 2025-07-26 20:28:18 +02:00
parent bdbf7a090c
commit fe23254558
2 changed files with 9 additions and 0 deletions

View file

@ -55,6 +55,7 @@ home-manager switch --flake github:Logan-Lin/nix-config#yanlin
| `<Space>e` | Normal | Toggle file explorer |
| `<Space>w` | Normal | Save file |
| `<Space>q` | Normal | Quit |
| `<Space>o` | Normal | Open file with system default app |
| `<Space>y` | Normal/Visual | Copy to system clipboard |
| `<Space>p` | Normal/Visual | Paste from system clipboard |
| `<Space>gs` | Normal | Git status |