@@ -78,8 +78,6 @@ brew tap marcinthecloud/r2sql-shell
7878brew install r2sql-shell
7979```
8080
81- For publishing instructions, see [ HOMEBREW_SETUP.md] ( HOMEBREW_SETUP.md ) .
82-
8381### From Source
8482
85831 . ** Clone the repository** :
@@ -208,6 +206,10 @@ The shell will work once you have tables in the catalog. You can always test the
208206
209207The TUI mode features vim-style navigation and keyboard shortcuts:
210208
209+ #### Basics
210+ - use ` Esc ` to exit focus back to navigation mode
211+ - use ` i ` to enter insert mode
212+
211213#### Navigation
212214- ` h ` or ` ← ` - Focus sidebar (schema tree)
213215- ` l ` or ` → ` or ` Enter ` - Expand/collapse namespace or select table
@@ -216,22 +218,16 @@ The TUI mode features vim-style navigation and keyboard shortcuts:
216218- ` g ` - Jump to top
217219- ` G ` - Jump to bottom
218220
219- #### Modes
220- - ` i ` - Enter insert mode (when in query editor)
221- - ` Esc ` - Return to normal mode
222- - Normal mode: Navigate and use shortcuts
223- - Insert mode: Edit queries
224-
225221#### Tabs
226- - ` Alt+ 2` - Query editor
227- - ` Alt+ 3` - Focus results pane
228- - ` Alt+ 4` - Query history
229- - ` Alt+ 5` - Favorites (coming soon)
222+ - ` 2 ` - Query editor
223+ - ` 3 ` - Focus results pane
224+ - ` 4 ` - Query history
225+ - ` 5 ` - Favorites (coming soon)
230226
231227#### Query Operations
232- - ` Ctrl+E ` - Execute current query (works in both normal and insert mode)
233- - ` Ctrl+F ` - Format SQL query
228+ - ` Ctrl+E ` or ` x ` - Execute current query (works in both normal and insert mode)
234229- Navigate to a table in the sidebar and press ` Enter ` to insert it into your query
230+ - ` Ctrl+L ` clears the SQL editor
235231
236232#### Results View
237233- ` t ` - Toggle between table and list view
0 commit comments