{"id":18788128,"url":"https://github.com/thdk/vim-config-frontend","last_synced_at":"2026-04-13T09:32:12.267Z","repository":{"id":69906196,"uuid":"393061029","full_name":"thdk/vim-config-frontend","owner":"thdk","description":"vim config to make frontend web development easier with vim editor","archived":false,"fork":false,"pushed_at":"2022-04-23T08:49:35.000Z","size":26,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-07T23:34:12.592Z","etag":null,"topics":["coc","editorconfig","linux","neovim","nvim","vim","vimrc"],"latest_commit_sha":null,"homepage":"","language":"Vim script","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/thdk.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":"2021-08-05T13:54:37.000Z","updated_at":"2022-04-23T08:49:38.000Z","dependencies_parsed_at":"2023-05-01T14:16:21.765Z","dependency_job_id":null,"html_url":"https://github.com/thdk/vim-config-frontend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thdk/vim-config-frontend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thdk%2Fvim-config-frontend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thdk%2Fvim-config-frontend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thdk%2Fvim-config-frontend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thdk%2Fvim-config-frontend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thdk","download_url":"https://codeload.github.com/thdk/vim-config-frontend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thdk%2Fvim-config-frontend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31746294,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["coc","editorconfig","linux","neovim","nvim","vim","vimrc"],"created_at":"2024-11-07T20:57:36.855Z","updated_at":"2026-04-13T09:32:12.250Z","avatar_url":"https://github.com/thdk.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vim config for frontend development\n\nInspired by [this vim config]( https://github.com/L0stSoul/vim-config) but started from scratch again and \nevaluated each plugin again to see if alternatives exist.\n\nSome parts of the README and the .vimrc file have been copied from there and might not be working here yet.\nEither intentional, so the README should be updated, or not, so the .vimrc file should be updated.\n\n## Syntax support\n\n* Javascript / Typescript\n* JSX / TSX\n* Markdown\n\n## Features\n\n### ESlint\n\n### Prettier\n\n### Folding\n\nUse `Space` key to toggle code folding.\n\nOther native vim key maps for folding are:\n\n* za - toggle fold\n* zc - close the fold (where your cursor is positioned)\n* zM - close all folds on current buffer\n* zo - open the fold (where your cursor is positioned)\n* zR - open all folds on current buffer\n* zj - cursor is moved to next fold\n* zk - cursor is moved to previous fold\n\nmore fold commands: `:help folding`\n\n### Comments ([commentary](https://github.com/tpope/vim-commentary))\n\n`gcc` toggles a line in normal mode\n\n`gc` toggles selected lines in visual mode\n\n### Code completion, intellisense, code actions, formatting and more ([coc](https://github.com/neoclide/coc.nvim))\n\nAction | Hotkey\n--------------------------------------------------------- | -----------------\n**▶ Coding features**                                     |\nGo to type definition/declaration                         | `leader cd`\nFind all references of variable under coursor             | `leader cf`\nShow type of variable under cursor                        | `leader ct`\nShow docs for entity under cursor                         | `leader cd`\nSmart rename an entity under coursor and all refs to it   | `leader cr`\n**▶ Code completion**                                     |\nNext completion item                                      | `tab`\nPrevious completion item                                  | `shift+tab`\nUndo autocompletion                                       | `ctrl+e`\n**▶ Code diagnostics**                                    |\nPrevious error/warning                                    | `leader [g`\nNext error/warning                                        | `leader ]g`\n**CoC configuration:**\n\nOpen Coc configuration file in vim with `:CocConfig`\n\n```json\n{\n  \"eslint.autoFixOnSave\": true,\n  \"coc.preferences.formatOnSaveFiletypes\": [\n    \"javascript\",\n    \"javascriptreact\",\n    \"typescript\",\n    \"typescriptreact\"\n  ],\n  \"tsserver.formatOnType\": true,\n  \"coc.preferences.formatOnType\": true\n}\n```\n\n### Multi cursor ([vim-visual-multi](https://github.com/mg979/vim-visual-multi))\n\nctrl-up | ctrl-down to insert multiple cursors\n\n### Git integration ([Fugitive](https://github.com/tpope/vim-fugitive))\n\nAllows to simply use `:G` in vim instead of `git` for git CLI commands.\n\n`:G status`\n\nAction | Hotkey\n--------------------------------------------------------- | -----------------\nGit blame on the current line or all selected line        | `leader b`\nGit status                                                | `leader gst`\nGit add/checkout file                                     | `leader gw`\nGit diff                                                  | `leader gd`\nGit commit                                                | `leader gc`\nGit commit all                                            | `leader gca`\nGit commit -a --amend                                     | `leader gcf`\n\n### Auto close brackets and quotes ([DelimitMate](https://github.com/Raimondi/delimitMate))\n\n### Surround ([Surround](https://github.com/tpope/vim-surround))\n\nProvides keystrokes to easily delete, change and add such surroundings in pairs.\n\n__Normal mode__\n\n`csAB`  change surroundingsfrom A to B for this line\n \n`dsA`   delete surrounding A for this entire line\n  \n`yssb`  wrap line with parentheses ( line ) \n  \n`ysiwA` wrap word(textblock) with surrounding A \n  \n__Visual mode__ \n \nSelect lines using `V` now type `S` and write the desired surrounding start \n\n`S\u003cdiv class='container'\u003e`\n\n## Interface\n\n### Improved status and tab bar ([Airline](https://github.com/bling/vim-airline))\n\n### File navigation tree ([NERDTree](https://github.com/preservim/nerdtree))\n\nAction | Hotkey\n--------------------------------------------------------- | -----------------\nShow current file in NERDtre                              | `leader f`\n\n### Fuzzy search ([FZF](https://github.com/junegunn/fzf))\n\nOpens a popup window to perform any search and narrow down search results using fuzzy search.\n\nAction | Hotkey\n--------------------------------------------------------- | -----------------\nFiles content (aka find in files)                         | `leader ff`\nFiles in current working dir                              | `leader space`\n(Hint: press C on directory in NERDTree to set it as CWD)\nFiles in GIT working tree and index                       | `leader gf`\nFiles listed in 'git status'                              | `leader gs`\nCommits                                                   | `leader gl`\nCommits with changes for current buffer / visual selection| `leader ga`\nBuffers                                                   | `leader a`\nWindows                                                   | `leader A`\nLines in current buffer                                   | `leader ;`\nTags in current buffer                                    | `leader o`\n\n## Hotkeys\n\nNote: the `leader` key set with this .vimrc file is ',' (comma)\n\nAction | Hotkey\n--------------------------------------------------------- | -----------------\n**▶ File operations**                                     |\nRecent Files List                                         | `leader m`\n**▶ Splits**                                              |\nMove between splits                                       | `leader w`\nMove to the top split                                     | `shift + arrow up`\nMove to the bottom split                                  | `shift + arrow down`\nMove to the the right split                               | `shift + arrow right`\nMove to the the left split                                | `shift + arrow left`\nMake split bigger vertically                              | `shift + ctrl + arrow up`\nMake split smaller vertically                             | `shift + ctrl + arrow down`\nMake split bigger horizontally                            | `shift + ctrl + arrow right`\nMake split smaller horizontally                           | `shift + ctrl + arrow left`\n\n## Color scheme\n[vim code dark](https://github.com/tomasiser/vim-code-dark)'\n\n## Easy installation\n\nInstall plugin manager [PlugInstall](https://github.com/junegunn/vim-plug)\n\nYou just need to place `.vimrc` in your home directory and install plugins:\n\n```shell\n:PlugInstall\n```\n\n**pro tip: keep your `.vimrc` file up to date with this repo**\n\nClone the repo, and place symlink to .vimrc in your home directory. E.g.:\n\n```bash\n git clone https://github.com/thdk/vim-config-frontend.git \u0026\u0026 ln -rsf ./vim-config-frontend/.vimrc ~/.vimrc\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthdk%2Fvim-config-frontend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthdk%2Fvim-config-frontend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthdk%2Fvim-config-frontend/lists"}