Skip to content

Commit

Permalink
Add vim command to call the chat (#428)
Browse files Browse the repository at this point in the history
The section on how to launch Codeium chat is lacking the actual command to call it. Looking at the comment at #118 (comment), we can see that this is not necessarily obvious.
  • Loading branch information
cgbarros authored Aug 8, 2024
1 parent 8dea01e commit 0b74f27
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,10 @@ vim-airline supports Codeium out-of-the-box since commit [3854429d](https://gith

Calling the `codeium#Chat()` function will enable search and indexing in the current project and launch Codeium Chat in a new browser window.

```vim
:call codeium#Chat()
```

The project root is determined by looking in Vim's current working directory for some specific files or directories to be present and goes up to parent directories until one is found. This list of hints is user-configurable and the default value is:

```let g:codeium_workspace_root_hints = ['.bzr','.git','.hg','.svn','_FOSSIL_','package.json']```
Expand Down

0 comments on commit 0b74f27

Please sign in to comment.