Skip to content

Commit f63bd51

Browse files
committed
docs: update instructions
1 parent a6abfac commit f63bd51

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242

4343
[Video walkthrough of features](https://youtu.be/Sebh2aFfFPg)
4444

45-
- Quickly list and open any GitHub repositories, yours or others, directly from Neovim.
45+
- Quickly list and open any GitHub repositories, yours, or others, directly from Neovim.
4646
- Sort repositories by stars, forks, and other criteria, with support for filtering by type (forks, private repos, etc.) and languages.
4747
- View all sorts of repository details at a glance, including issues, stars, forks, and more.
4848
- Seamless integration with pickers for fuzzy searching and quick access to repositories.
@@ -148,10 +148,14 @@ Available `repos.repo_type` options:
148148

149149
#### Main Commands
150150

151-
- `:Octohub repos [user] [sort:<option>] [type:<option>]`: Displays repositories for a given user, sorted by specified criteria.
151+
- `:Octohub repos [user] [sort:<option>] [type:<option>] [lang:<language>]`: Displays repositories for a given user, sorted by specified criteria.
152152
- Ex: `:Octohub repos 2kabhishek sort:updated type:forked` - Display all forked repositories for `2kabhishek`, sorted by last update.
153153
- Ex: `:Octohub repos type:starred` - Display all repositories starred by the current user.
154+
- Ex: `:Octohub repos lang:javascript` - Display all JavaScript repositories for the current user.
154155
- Ex: `:Octohub` - Same as `:Octohub repos` for the current user.
156+
- `:Octohub repos languages [user]`: Opens an interactive language picker to filter repositories by programming language.
157+
- Ex: `:Octohub repos languages` - Show language picker for the current user.
158+
- Ex: `:Octohub repos languages 2kabhishek` - Show language picker for user `2kabhishek`.
155159
- `:Octohub repo <name> [user]`: Opens a specified repository, optionally by a user.
156160
- Ex: `:Octohub repo octohub.nvim` - Clone the repository `octohub.nvim` from the current user.
157161
- Ex: `:Octohub repo octohub.nvim 2kabhishek` - Clone the repository `octohub.nvim` from the user `2kabhishek`.
@@ -170,7 +174,8 @@ Available `repos.repo_type` options:
170174
All new `Octohub` commands support tab completion:
171175

172176
- Subcommands: `repos`, `repo`, `stats`, `web`
173-
- Parameters: `sort:created`, `sort:forks`, `type:archived`, `type:private`, etc.
177+
- Parameters: `sort:created`, `sort:forks`, `type:archived`, `type:private`, `lang:javascript`, etc.
178+
- Dynamic language completion: `lang:` options are automatically populated based on your actual repository languages
174179
- Context-aware completion based on the current command
175180

176181
#### Utility Commands
@@ -223,6 +228,7 @@ By default, these are the configured keybindings.
223228
| `<leader>goP` | `:Octohub repos type:private<CR>` | Private Repos |
224229
| `<leader>goS` | `:Octohub repos type:starred<CR>` | Starred Repos |
225230
| `<leader>goT` | `:Octohub repos type:template<CR>` | Template Repos |
231+
| `<leader>goL` | `:Octohub repos languages<CR>` | Filter by Language |
226232
| `<leader>goa` | `:Octohub stats activity<CR>` | Activity Stats |
227233
| `<leader>gog` | `:Octohub stats contributions<CR>` | Contribution Graph |
228234
| `<leader>gor` | `:Octohub stats repo<CR>` | Repo Stats |

0 commit comments

Comments
 (0)