{"id":21515113,"url":"https://github.com/sokhuong-uon/nvim","last_synced_at":"2025-04-09T20:12:07.406Z","repository":{"id":167487220,"uuid":"624917396","full_name":"sokhuong-uon/nvim","owner":"sokhuong-uon","description":"VSCode-Neovim keybinding config using Lua","archived":false,"fork":false,"pushed_at":"2024-08-11T11:56:17.000Z","size":59,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T20:12:01.954Z","etag":null,"topics":["config","configs","custom","keybindings","neovim","settings","shortcuts","vim","vscode","whichkey"],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sokhuong-uon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-07T15:27:03.000Z","updated_at":"2025-02-13T18:46:44.000Z","dependencies_parsed_at":"2023-12-03T05:20:47.418Z","dependency_job_id":"5af09e7b-5135-4250-aee7-e8768308f6e9","html_url":"https://github.com/sokhuong-uon/nvim","commit_stats":null,"previous_names":["sokhuong-uon/nvim"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sokhuong-uon%2Fnvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sokhuong-uon%2Fnvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sokhuong-uon%2Fnvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sokhuong-uon%2Fnvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sokhuong-uon","download_url":"https://codeload.github.com/sokhuong-uon/nvim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248103872,"owners_count":21048245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["config","configs","custom","keybindings","neovim","settings","shortcuts","vim","vscode","whichkey"],"created_at":"2024-11-23T23:54:10.029Z","updated_at":"2025-04-09T20:12:07.375Z","avatar_url":"https://github.com/sokhuong-uon.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Neovim config for using with VSCode\n\n## Installation (Linux)\n### 1. Download\n```bash\nbash \u003c(curl -s https://raw.githubusercontent.com/sokhuong-uon/nvim/main/installer.sh)\n```\nor clone this repo into your `.config` folder\n\n### 2. Config\nPoint VSCode Neovim config path to `init.lua`.\n\n## VSCode extensions needed\n\n- [vscode-neovim](https://github.com/vscode-neovim/vscode-neovim)\n- [whichkey](https://github.com/VSpaceCode/vscode-which-key) (optional)\n\n## Plugins\n\n- [folke/flash.nvim](https://github.com/folke/flash.nvim).\n- [kylechui/nvim-surround](https://github.com/kylechui/nvim-surround).\n\n## Keybinding\n\n**_Note_**: \u003ckbd\u003eleader\u003c/kbd\u003e is set to Space \u003ckbd\u003e⎵\u003c/kbd\u003e.\n\n| Binding                          | What it does               | Mode  | VSCode command                  |\n| -------------------------------- | -------------------------- | ----- | ------------------------------- |\n| \u003ckbd\u003e⎵\u003c/kbd\u003e                | Show whichkey menu.        | `N`   | `whichkey.show`                 |\n| \u003ckbd\u003e⎵\u003c/kbd\u003e + \u003ckbd\u003e⎵\u003c/kbd\u003e | Show Command Palette.      | `N`   | `workbench.action.showCommands` |\n| \u003ckbd\u003e⎵\u003c/kbd\u003e + \u003ckbd\u003e/\u003c/kbd\u003e | Comment out selected code. | `N/V` | `editor.action.commentLine`     |\n\n### - Refactor\n\n| Binding                                         | What it does        | Mode  | VSCode command                     |\n| ----------------------------------------------- | ------------------- | ----- | ---------------------------------- |\n| \u003ckbd\u003e⎵\u003c/kbd\u003e + \u003ckbd\u003er\u003c/kbd\u003e                | Show refactor menu. | `N/V` | `editor.action.refactor`           |\n| \u003ckbd\u003e⎵\u003c/kbd\u003e + \u003ckbd\u003er\u003c/kbd\u003e + \u003ckbd\u003er\u003c/kbd\u003e | Rename symbol.      | `N`   | `editor.action.rename`             |\n| \u003ckbd\u003e⎵\u003c/kbd\u003e + \u003ckbd\u003er\u003c/kbd\u003e + \u003ckbd\u003ei\u003c/kbd\u003e | Organize import.    | `N`   | `editor.action.organizeImports`    |\n| \u003ckbd\u003e⎵\u003c/kbd\u003e + \u003ckbd\u003er\u003c/kbd\u003e + \u003ckbd\u003ec\u003c/kbd\u003e | Remove console log. | `N`   | **`:g/\\\\vconsole[.][lgtc]/d\u003ccr\u003e`** |\n\n### - HTML Emmet\n\n| Binding                                         | What it does                   | Mode  | VSCode command                             |\n| ----------------------------------------------- | ------------------------------ | ----- | ------------------------------------------ |\n| \u003ckbd\u003e⎵\u003c/kbd\u003e + \u003ckbd\u003er\u003c/kbd\u003e + \u003ckbd\u003ew\u003c/kbd\u003e | Wrap `\u003ctag\u003e`/s in another tag. | `N/V` | `editor.emmet.action.wrapWithAbbreviation` |\n| \u003ckbd\u003e⎵\u003c/kbd\u003e + \u003ckbd\u003er\u003c/kbd\u003e + \u003ckbd\u003ed\u003c/kbd\u003e | Delete HTML `\u003ctag\u003e`.           | `N`   | `editor.emmet.action.removeTag`            |\n| \u003ckbd\u003e⎵\u003c/kbd\u003e + \u003ckbd\u003er\u003c/kbd\u003e + \u003ckbd\u003eu\u003c/kbd\u003e | Update HTML `\u003ctag\u003e`.           | `N`   | `editor.emmet.action.updateTag`            |\n\n### - Buffer/Active Editor/Tab\n\n| Binding                                         | What it does                                | Mode | VSCode command                                                  |\n| ----------------------------------------------- | ------------------------------------------- | ---- | --------------------------------------------------------------- |\n| \u003ckbd\u003e⎵\u003c/kbd\u003e + \u003ckbd\u003ew\u003c/kbd\u003e                | Close active editor.                        | `N`  | `workbench.action.closeActiveEditor`                            |\n| \u003ckbd\u003e⎵\u003c/kbd\u003e + \u003ckbd\u003eW\u003c/kbd\u003e                | Close other active editor/s.                | `N`  | `workbench.action.closeOtherEditors`                            |\n| \u003ckbd\u003e⎵\u003c/kbd\u003e + \u003ckbd\u003eb\u003c/kbd\u003e + \u003ckbd\u003et\u003c/kbd\u003e | Show active eidtor in file explorer.        | `N`  | `workbench.files.action.showActiveFileInExplorer`               |\n| \u003ckbd\u003e⎵\u003c/kbd\u003e + \u003ckbd\u003eb\u003c/kbd\u003e + \u003ckbd\u003er\u003c/kbd\u003e | Rename file.                                | `N`  | `workbench.files.action.showActiveFileInExplorer`, `renameFile` |\n| \u003ckbd\u003e⎵\u003c/kbd\u003e + \u003ckbd\u003eb\u003c/kbd\u003e + \u003ckbd\u003en\u003c/kbd\u003e | New file in the same folder as active file. | `N`  | `workbench.explorer.fileView.focus`, `explorer.newFile`         |\n| \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003es\u003c/kbd\u003e                  | Save file.                                  | `N`  | \u003ckbd\u003eCtrl\u003c/kbd\u003e + \u003ckbd\u003es\u003c/kbd\u003e                                  |\n\n\u003c!-- \u003ctable\u003e\n  \u003cthead style=\"color:green;\"\u003e\n    \u003ctd\u003eBinding\u003c/td\u003e \u003ctd\u003eWhat is does\u003c/td\u003e \u003ctd\u003eMode\u003c/td\u003e \u003ctd\u003eVSCode command\u003c/td\u003e\n  \u003c/thead\u003e\n\n  \u003ctr\u003e\n    \u003ctd\u003eBlackstreet\u003c/td\u003e \u003ctd\u003eLike the way you work it.\u003c/td\u003e \u003ctd\u003eNo diggity.\u003c/td\u003e \u003ctd\u003eHa yo, ha yo, ha yo, hay oh.\u003cbr\u003eWoww\u003c/td\u003e\n  \u003c/tr\u003e\n\n\u003c/table\u003e --\u003e\n\n### - Explore/list navigation\n\nhttps://github.com/vscode-neovim/vscode-neovim#explorerlist-navigation\n\n### - File explorer manipulation\n\nhttps://github.com/vscode-neovim/vscode-neovim#explorer-file-manipulation\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsokhuong-uon%2Fnvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsokhuong-uon%2Fnvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsokhuong-uon%2Fnvim/lists"}