@@ -31,23 +31,29 @@ This guide covers **pcode-editor version 0.2.28**.
3131## Interface Overview
3232
3333```
34- +------------------------------------------------------------------+
35- | File Edit View Help [_][X] |
36- +------------------------------------------------------------------+
37- | [+][~] untitled [X] |
38- +------------------------------------------------------------------+
39- | | |
40- | 1 #include <stdio.h> | 1 #include |
41- | 2 | 2 |
42- | 3 int main() { | 3 int main |
43- | 4 printf("Hello\n"); | 4 print |
44- | 5 return 0; | 5 retur |
45- | 6 } | 6 } |
46- | | |
47- | +------------+
48- +------------------------------------------------------------------+
49- | NORMAL | Ln 1, Col 1 | UTF-8 | LC | 100% | main.cpp | 0.2.28 |
50- +------------------------------------------------------------------+
34+ .====================================================================.
35+ | [Menu Bar: File | Edit | View | Help ] [-][口][X] |
36+ +====================================================================+
37+ | [+] untitled.cpp [-] config.json [x] |
38+ +--------------------------------------------------------------------+
39+ | |
40+ | 1 | #include <stdio.h> |
41+ | 2 | |
42+ | 3 | int main() { |
43+ | 4 | printf("Hello, World!\n"); |
44+ | 5 | return 0; |
45+ | 6 | } |
46+ | 7 | |
47+ | 8 | |
48+ | 9 | |
49+ | 10 | |
50+ | |
51+ +===========================================================================+
52+ | [ Minimap: ||||||||||||||||||||||||||| ] |
53+ +--------------------------------------------------------------------+
54+ | |
55+ | MODE | Line 4, Col 10 | UTF-8 | LF | 100% | main.cpp | 0.2.28 |
56+ '===================================================================='
5157```
5258
5359### Key Interface Elements
@@ -128,6 +134,37 @@ pcode-editor supports Vim-style editing with multiple modes.
128134
129135## Keyboard Shortcuts
130136
137+ ### Keyboard Layout Reference
138+
139+ ```
140+ .=====================================================================.
141+ | KEYBOARD SHORTCUTS |
142+ +=====================================================================+
143+ | |
144+ | +-------------+-------------+-------------+-------------+ |
145+ | | ESC | F1 | F2 | F3 | F4 | |
146+ | | [X] | | [F2] | | [X] | |
147+ | +------+------+-------+------+------+------+-----------+ |
148+ | | ` | 1 | 2 | 3 | 4 | 5 | |
149+ | | [X] | [1] | [2] | [3] | [4] | [5] | |
150+ | +------+------+-------+------+------+------+-----------+ |
151+ | | TAB| Q | W | E | R | T | |
152+ | | | [Q] | [W] | [E] | [R] | [T] | |
153+ | +------+------+-------+------+------+------+-----------+ |
154+ | | CTRL | A | S | D | F | G | |
155+ | |[CTRL]| [A] | [S] | [D] | [F] | [G] | |
156+ | +------+------+-------+------+------+------+-----------+ |
157+ | | SHIFT| Z | X | C | V | B | |
158+ | |[SHFT]| [Z] | [X] | [C] | [V] | [B] | |
159+ | +------+------+-------+------+------+------+-----------+ |
160+ | | | - | = | [SPACE] |
161+ | | | [-] | [=] | [ SPACE ]|
162+ | +------+------+-------+----------------------------------+ |
163+ | |
164+ | Mode Indicator: [ NORMAL ] Key: [ X ] = Press X |
165+ '====================================================================='
166+ ```
167+
131168### File Operations
132169
133170| Shortcut | Action |
@@ -174,6 +211,38 @@ pcode-editor supports Vim-style editing with multiple modes.
174211| ` Ctrl+W ` then ` l ` | Focus right split |
175212| ` Ctrl+W ` then ` o ` | Close other splits |
176213
214+ ### Split Window Layouts
215+
216+ Horizontal Split (` :sp ` ):
217+ ```
218+ .====================================================================.
219+ | FILE A (Top) [_][-][X] |
220+ +====================================================================+
221+ | 1 | #include <stdio.h> | |
222+ | 2 | | |
223+ | 3 | int main() | |
224+ | 4 | { | |
225+ +====+================================================================+
226+ | FILE B (Bottom) [_][X] |
227+ | 1 | #include <stdlib.h> |
228+ | 2 | | |
229+ | 3 | int main() | |
230+ +====================================================================+
231+ ```
232+
233+ Vertical Split (` :vsp ` ):
234+ ```
235+ .====================================================================.
236+ | FILE A (Left) | FILE B (Right) |
237+ +===================================+============================+
238+ | 1 | #include <stdio.h> | 1 | #include <...> |
239+ | 2 | | 2 | |
240+ | 3 | int main() | 3 | int main() |
241+ | 4 | { | 4 | { |
242+ | | 5 | } |
243+ +============================+============================+
244+ ```
245+
177246---
178247
179248## Command Palette
@@ -209,6 +278,30 @@ Type these in the palette:
209278
210279Open terminal with ` :term ` , ` :shell ` , or ` :sh ` .
211280
281+ ### Terminal Window
282+
283+ ```
284+ .====================================================================.
285+ | TERMINAL [_][-][X] |
286+ +====================================================================+
287+ | |
288+ | Last login: Thu Apr 17 20:00:00 from 192.168.1.100 |
289+ | |
290+ | user@machine:~/project$ |
291+ | user@machine:~/project$ make |
292+ | gcc -o main main.c |
293+ | ./main |
294+ | Hello, World! |
295+ | |
296+ | user@machine:~/project$ _ |
297+ | |
298+ +====================================================================+
299+ | [+][-] Zoom: 100% Ctrl++ Zoom In / Ctrl+- Zoom |
300+ '===================================================================='
301+ ```
302+
303+ ### Shell Commands
304+
212305### Features
213306
214307- Direct keyboard input to shell
0 commit comments