@@ -21,11 +21,12 @@ https://github.com/yassinebridi/serpl/assets/18403595/348506704-73336074-bfaf-4a
2121 - [ Replace Input] ( #replace-input )
2222 - [ Search Results Pane] ( #search-results-pane )
2323 - [ Preview Pane] ( #preview-pane )
24- 5 . [ Neovim Integration using toggleterm] ( #neovim-integration-using-toggleterm )
25- 6 . [ License] ( #license )
26- 7 . [ Contributing] ( #contributing )
27- 8 . [ Acknowledgements] ( #acknowledgements )
28- 9 . [ Similar Projects] ( #similar-projects )
24+ 5 . [ Quick Hints] ( #quick-hints )
25+ 6 . [ Neovim Integration using toggleterm] ( #neovim-integration-using-toggleterm )
26+ 7 . [ License] ( #license )
27+ 8 . [ Contributing] ( #contributing )
28+ 9 . [ Acknowledgements] ( #acknowledgements )
29+ 10 . [ Similar Projects] ( #similar-projects )
2930
3031## Features
3132
@@ -115,24 +116,25 @@ Default key bindings can be customized through the `config.json` file.
115116
116117# ### Default Key Bindings
117118
118- | Key Combination | Action |
119- | ---------------------------- | --------------------------------- |
120- | ` Ctrl + c` | Quit |
121- | ` Ctrl + b` | Help |
122- | ` Tab` | Switch between tabs |
123- | ` Backtab` | Switch to previous tabs |
124- | ` Ctrl + o` | Process replace |
125- | ` Ctrl + n` | Toggle search and replace modes |
126- | ` Enter` | Execute search (for large folders)|
127- | ` g` / ` Left` / ` h` | Go to top of the list |
128- | ` G` / ` Right` / ` l` | Go to bottom of the list |
129- | ` j` / ` Down` | Move to the next item |
130- | ` k` / ` Up` | Move to the previous item |
131- | ` d` | Delete selected file or line |
132- | ` Esc` | Exit the current pane or dialog |
133- | ` Enter` (in dialogs) / ` y` | Confirm action |
134- | ` Esc` (in dialogs) / ` n` | Cancel action |
135- | ` h` , ` l` , ` Tab` (in dialogs) | Navigate dialog options |
119+ | Key Combination | Action |
120+ | ---------------------------- | ----------------------------------------- |
121+ | ` Ctrl + c` | Quit |
122+ | ` Ctrl + b` | Help |
123+ | ` Tab` | Switch between tabs |
124+ | ` Backtab` | Switch to previous tabs |
125+ | ` Ctrl + o` | Process replace for all files |
126+ | ` r` | Process replace for selected file or line |
127+ | ` Ctrl + n` | Toggle search and replace modes |
128+ | ` Enter` | Execute search (for large folders) |
129+ | ` g` / ` Left` / ` h` | Go to top of the list |
130+ | ` G` / ` Right` / ` l` | Go to bottom of the list |
131+ | ` j` / ` Down` | Move to the next item |
132+ | ` k` / ` Up` | Move to the previous item |
133+ | ` d` | Delete selected file or line |
134+ | ` Esc` | Exit the current pane or dialog |
135+ | ` Enter` (in dialogs) / ` y` | Confirm action |
136+ | ` Esc` (in dialogs) / ` n` | Cancel action |
137+ | ` h` , ` l` , ` Tab` (in dialogs) | Navigate dialog options |
136138
137139# ## Configuration
138140
@@ -214,7 +216,13 @@ You can customize the key bindings by modifying the configuration file in the fo
214216# ## Search Input
215217
216218- Input field for entering search keywords.
217- - Toggle search modes (Simple, Match Case, Whole Word, Regex, AST Grep).
219+ - Toggle search modes (Simple, Match Case, Match Whole Word, Match Case Whole Word, Regex, AST Grep).
220+ - Simple: Search all occurrences of the keyword.
221+ - Match Case: Search occurrences with the same case as the keyword.
222+ - Match Whole Word: Search occurrences that match the keyword exactly.
223+ - Match Case Whole Word: Search occurrences that match the keyword exactly with the same case.
224+ - Regex: Search occurrences using a regular expression.
225+ - AST Grep: Search occurrences using AST Grep.
218226
219227> [! TIP]
220228> If current directory is considerebly large, you have to click ` Enter` to start the search.
@@ -223,6 +231,9 @@ You can customize the key bindings by modifying the configuration file in the fo
223231
224232- Input field for entering replacement text.
225233- Toggle replace modes (Simple, Preserve Case, AST Grep).
234+ - Simple: Replace all occurrences of the keyword.
235+ - Preserve Case: Replace occurrences while preserving the case of the keyword.
236+ - AST Grep: Replace occurrences using AST Grep.
226237
227238# ## Search Results Pane
228239
@@ -235,6 +246,14 @@ You can customize the key bindings by modifying the configuration file in the fo
235246- Display of the selected file with highlighted search results, and context.
236247- Navigation to view different matches within the file.
237248- Option to delete individual lines containing matches.
249+
250+ # # Quick Hints
251+ - Use the ` Ctrl + b` key combination to display the help dialog.
252+ - Use the ` Ctrl + o` key combination to process the replace for all files.
253+ - Use the ` r` key to process the replace for the selected file or line.
254+ - Use the ` Ctrl + n` key combination to toggle between search and replace modes.
255+ - Use the ` g` , ` G` , ` j` , and ` k` keys to navigate through the search results.
256+ - Use the ` d` key to delete the selected file or line.
238257
239258# # Neovim Integration using toggleterm
240259
0 commit comments