> _DOCUMENTATION / CHEAT SHEET

[ GLOBAL / ARCHITECTURE ]

Lini is built around a strict "no-mouse required" philosophy. When launched, it anchors to your current working directory. To silently persist your workflow (opened files, split orientations, and AI chat histories), Lini automatically creates a lightweight, hidden .lini folder in the root of your project.

Tab
Toggle focus (Explorer <-> Editor)
q
Quit application
?
Toggle in-app help screen

[ FILE EXPLORER ]

Your navigation hub. It securely browses the current directory while intelligently ignoring heavy build folders (like node_modules or target) to keep the AI context lean. Use the Explorer not just to open files, but to batch-select multiple files (using Space) to feed into the AI's memory.

Arrows
Navigate (Right: Expand, Left: Collapse)
Enter / 1
Open file in Editor 1
2
Open file in Editor 2 (Split View)
h
Toggle Split orientation (Vertical <-> Horizontal)
a / r / d
Add (end with '/' for dir) / Rename / Delete
y / p
Yank (Copy) / Paste file into directory
Space
Select/Deselect file (Batch ops)
/
Search files (Enter to open)
.
Toggle hidden files
i / n / l
Quick Note / Quick AI (Creates .md file)
v
Toggle Auto-Preview

[ EDITOR - NORMAL MODE ]

Inspired by modal editors like Vim, but streamlined for modern note-taking. You navigate, search, and manage files in NORMAL mode, and write content in INSERT mode. Pressing n triggers a zero-friction capture state—type a name directly in the window border, or simply hit Enter to generate a daily note.

i / Enter
Enter INSERT mode
v
Enter VISUAL mode
1 / 2
Jump to Editor 1 / Editor 2
c
Close buffer (Clear screen)
w
Force save file
Ctrl+d
Toggle NLP Language (PL -> EN -> SV -> OFF)
/
Search in text (Up/Down: Next/Prev)
u / Shift+U
Undo / Redo
g / G
Jump to Top / Bottom of document

[ EDITOR - INSERT & VISUAL ]

The primary writing workspace. This mode actively utilizes the Tri-Layer NLP engine to provide real-time suggestions based on your selected language dictionary.

Esc
Return to NORMAL mode
Ctrl+e
(INSERT) Request Deep Spellcheck on underlined error
Ctrl+l
(INSERT) Inline AI Prompt (Uses current line as prompt)
Tab
(INSERT) Accept NLP suggestion / Autocomplete
%
(VISUAL) Select entire document
y / d / x
(VISUAL) Yank (Copy) / Delete / Cut selection
p
(VISUAL) Paste from clipboard
Ctrl+Shift+V
Instant block format paste

[ AI ASSISTANT (OLLAMA) ]

Lini offers fully local AI integration via Ollama. Use the Inline Ghost AI (Ctrl+l) to generate text directly into your active document, or open the dedicated Chat Panel (l) for complex, multi-file queries utilizing Retrieval-Augmented Generation (RAG).

l
(NORMAL) Open AI prompt (Reads context ABOVE cursor)
Ctrl+f
(AI PROMPT) Add external files from Explorer to context
Ctrl+r
(AI PROMPT) Clear attached files from memory
Ctrl+p
(AI PROMPT) Paste from clipboard into prompt