{"id":17312604,"url":"https://github.com/ndaidong/vim","last_synced_at":"2025-04-14T14:33:29.090Z","repository":{"id":28417148,"uuid":"118329578","full_name":"ndaidong/vim","owner":"ndaidong","description":"My vim configuration \u0026 plugins","archived":false,"fork":false,"pushed_at":"2022-11-09T14:26:11.000Z","size":49,"stargazers_count":8,"open_issues_count":0,"forks_count":6,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-03-28T03:32:33.035Z","etag":null,"topics":["terminal","vim","vim-plugins","vimrc"],"latest_commit_sha":null,"homepage":"https://kipalog.com/posts/3-VIM-plugins-giup-toi-thay-nhu-o-nha","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/ndaidong.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}},"created_at":"2018-01-21T11:43:25.000Z","updated_at":"2022-11-04T14:31:43.000Z","dependencies_parsed_at":"2023-01-14T08:47:01.409Z","dependency_job_id":null,"html_url":"https://github.com/ndaidong/vim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndaidong%2Fvim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndaidong%2Fvim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndaidong%2Fvim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ndaidong%2Fvim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ndaidong","download_url":"https://codeload.github.com/ndaidong/vim/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248897579,"owners_count":21179613,"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":["terminal","vim","vim-plugins","vimrc"],"created_at":"2024-10-15T12:44:02.761Z","updated_at":"2025-04-14T14:33:29.064Z","avatar_url":"https://github.com/ndaidong.png","language":"Vim Script","readme":"# vim\nMy vim configuration \u0026 plugins using git module.\n\n\n## Usage\n\nAssume that you have had `vim` and `git` already.\n\nNext step is clone this repo with all its submodules:\n\n\n```bash\n# HTTPS\ngit clone --recursive https://github.com/ndaidong/vim.git ~/.vim\n\n# for your fork\ngit clone --recursive git@github.com:YOUR_GITHUB_USERNAME/vim.git ~/.vim\n\n# for me\ngit clone --recursive git@github.com:ndaidong/vim.git ~/.vim\n```\n\nThat's it. Everything was done.\n\n### Up to date\n\nTo update these plugins, use the following commands:\n\n```bash\n# Git 1.8.2 and above\ngit submodule update --recursive --remote\n\n# Git 1.7.3 and above\ngit submodule update --recursive\n\n# Alternatively\ngit pull --recurse-submodules\n```\n\n### Linters\n\nPython developers need to install `flake8` globally or within isolated environment.\n\nRecommend to use [pipx](https://github.com/pypa/pipx):\n\n```bash\npipx install flake8\n```\n\nJavaScript/TypeScript developers can use `eslint` from global or project scope.\n\nRecommend to use [pnpm](https://github.com/pnpm/pnpm):\n\n```bash\npnpm i -g eslint\n```\n\n## Plugins\n\n- [NERDTree](https://github.com/scrooloose/nerdtree): to get file explorer with sidebar and tabs\n- [NERDTree Tabs](https://github.com/jistr/vim-nerdtree-tabs): to keep sidebar consistent, independent from tabs\n- [indentLine](https://github.com/Yggdroot/indentLine): to display the indention levels\n- [nerdcommenter](https://github.com/preservim/nerdcommenter): to comment line or block of selected code\n- [lightline.vim](https://github.com/itchyny/lightline.vim): to make statusline\n- [vim-gitbranch](https://github.com/itchyny/vim-gitbranch): to get branch name\n- [ALE](https://github.com/w0rp/ale): to enable live linting\n- [lightline-ale](https://github.com/maximbaz/lightline-ale): to bring messages from ALE to statusline\n- [v-vim](https://github.com/ollykel/v-vim): Support for V syntax highlighting in Vim \n\n### Add plugin\n\nFor example `vim-wanted` can be added as below:\n\n```bash\ncd ~/.vim\ngit submodule add https://github.com/vim-wanted/vim-wanted.git pack/plugins/start/vim-wanted\ngit commit\n```\n\n### Remove plugin\n\nHere we remove `vim-unwanted`:\n\n```bash\ncd ~/.vim\ngit rm -f pack/plugins/start/vim-unwanted\nrm -rf .git/modules/pack/plugins/start/vim-unwanted\ngit commit -m \"Remove vim-unwanted\"\ngit push\n```\n\n## Refs\n\n- [Di cư từ Sublime Text sang VIM](https://kipalog.com/posts/Di-cu-tu-Sublime-Text-sang-VIM)\n- [Làm quen VIM trong 5 phút](https://kipalog.com/posts/Lam-quen-VIM-trong-5-phut)\n- [3 VIM plugins giúp tôi thấy như ở nhà](https://kipalog.com/posts/3-VIM-plugins-giup-toi-thay-nhu-o-nha)\n- [Vim: So long Pathogen, hello native package loading](https://shapeshed.com/vim-packages)\n- [Vim Configuration From Scratch in 2016](http://marcgg.com/blog/2016/03/01/vimrc-example/)\n- [A Simpler Vim Statusline](https://www.blaenkdenum.com/posts/a-simpler-vim-statusline/)\n- [Switch from vim-airline to lightline](http://newbilityvery.github.io/2017/08/04/switch-to-lightline/)\n- [A better NerdTree setup](https://medium.com/@victormours/a-better-nerdtree-setup-3d3921abc0b9)\n\n\n### Learn more?\n\n- [Vim Cheat Sheet by rtorr](https://vim.rtorr.com/)\n- [Vim Cheat Sheet by DevHints](https://devhints.io/vim)\n- [Vim Documents](http://vimdoc.sourceforge.net/htmldoc/)\n\n\n## Screenshots\n\n![VIM in my desktop - JavaScript](https://i.imgur.com/3Re92Xi.png)\n![VIM in my desktop - Python](https://i.imgur.com/0orHTs3.png)\n![VIM in my desktop - Golang](https://i.imgur.com/e7eQM4s.png)\n\n## License\n\nThe MIT License (MIT)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndaidong%2Fvim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndaidong%2Fvim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndaidong%2Fvim/lists"}