DEV Community

EDICON
EDICON

Posted on

Use Copilot in VSCode Neovim

Set Neovim mode in VSCode

Set Copilot in VSCode

Usages

  • First suggestion

    • o/i(Insert Mode) --> tab/tab(Select)
  • Choosing alternate suggestions

    • o/i(Insert Mode) --> tab/space --> alt-[/] --> tab
  • Getting more suggestions

    • o/i(Insert Mode) --> tab/space --> ctrl-Enter --> Accept Solution

Examples

  • Create a sample file of typescript
function calculateDaysBetweenDate(begin, end) {<tab>

function calculateDaysBetweenDate(begin, end) {
  <tab>
}
Enter fullscreen mode Exit fullscreen mode

Discussion (0)