{"id":38890295,"url":"https://github.com/timsu92/vimrc","last_synced_at":"2026-01-17T14:51:19.663Z","repository":{"id":40639233,"uuid":"507750592","full_name":"timsu92/vimrc","owner":"timsu92","description":"My vim settings","archived":false,"fork":false,"pushed_at":"2025-12-01T13:59:54.000Z","size":261,"stargazers_count":5,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-04T02:44:23.434Z","etag":null,"topics":["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/timsu92.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-06-27T03:29:37.000Z","updated_at":"2025-12-01T13:59:57.000Z","dependencies_parsed_at":"2025-02-24T07:25:45.526Z","dependency_job_id":"06984367-8a91-4288-acdf-459cc39466de","html_url":"https://github.com/timsu92/vimrc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/timsu92/vimrc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timsu92%2Fvimrc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timsu92%2Fvimrc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timsu92%2Fvimrc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timsu92%2Fvimrc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timsu92","download_url":"https://codeload.github.com/timsu92/vimrc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timsu92%2Fvimrc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28510916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T13:38:16.342Z","status":"ssl_error","status_checked_at":"2026-01-17T13:37:44.060Z","response_time":85,"last_error":"SSL_read: 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":["vim","vimrc"],"created_at":"2026-01-17T14:51:18.966Z","updated_at":"2026-01-17T14:51:19.657Z","avatar_url":"https://github.com/timsu92.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vimrc: my vim settings\nNote! This is a config file on Ubuntu 22.04 on WSL2. If you use another system, you may need some changes to it.\n\nAlthough contents in here still valid, many of the plugins I use now aren't updated to this list😢 I'll try to find a time to do it.\n## Plugins\n### Plugins installed using [vim-plug](https://github.com/junegunn/vim-plug)\n[✓] [**coc**](https://github.com/neoclide/coc.nvim): Code linting, code complete, error checking and more!  \n[✓] [**vim-easy-align**](https://github.com/junegunn/vim-easy-align): Align your code with ease  \n[✓] [**nerdcommenter**](https://github.com/preservim/nerdcommenter): Comment code with ease  \n[✓] [**FastFold**](https://github.com/Konfekt/FastFold): Recognizes languages and create folds  \n[✗] [**tagbar**](https://github.com/preservim/tagbar): Navigate around code (disabled currently as I'm not using it)  \n[✓] [**vim-stay**](https://github.com/zhimsel/vim-stay): Memorized page position, cursor position, folds' status  \n[✗] [**vim-javascript**](https://github.com/pangloss/vim-javascript): JavaScript bundle for vim (Never used. Disabled currently)  \n[✓] [**rainbow**](https://github.com/luochen1990/rainbow): Colorful parentheses, brackets... for locate with ease  \n[✓] [**easymotion**](https://github.com/timsu92/vim-easymotion): Move your cursor faster and easier  \n[✓] [**nerdtree**](https://github.com/preservim/nerdtree): File explorer  \n[✓] [**nerdtree-git-plugin**](https://github.com/Xuyuanp/nerdtree-git-plugin): Show Git status in NERDTree  \n[✓] [**vim-devicons**](https://github.com/ryanoasis/vim-devicons): Prettified icons for various file types  \n[✓] [**vim-surround**](https://github.com/tpope/vim-surround): Manipulate parentheses, brackets... around texts  \n[▲] [**vim-expand-region**](https://github.com/terryma/vim-expand-region): Expand and shrink selection somewhat like [IntelliJ's Select code constructs](https://www.jetbrains.com/help/idea/working-with-source-code.html#editor_code_selection), but can be improved  \n[✓] [**vim-textobj-user**](https://github.com/kana/vim-textobj-user): Define `text-objects` on your own  \n[✓] [**vim-textobj-line**](https://github.com/kana/vim-textobj-line): Make entire line as a `text-objects`  \n[✓] [**VimSpector**](https://github.com/puremourning/vimspector): Debug right in Vim  \n[✓] [**vim-snippets**](https://github.com/honza/vim-snippets): Snippets for expressing ideas in few key strokes  \n[✓] [**endwise.vim**](https://github.com/tpope/vim-endwise): Close pairs when hitting `\u003center\u003e` in insert mode  \n[✓] [**SimpylFold**](https://github.com/tmhedberg/SimpylFold): Fold class and function definitions in Python  \n[✓] [**markdown-preview.nvim**](https://github.com/iamcco/markdown-preview.nvim): Preview markdown on-the-fly  \n### Other plugins or functions\n[✓] [**vim-monokai**](https://github.com/crusoexia/vim-monokai): Beautiful dark theme  \n[✗] [**Powerline**](https://github.com/powerline/powerline): Multi-function status line. (Using [vim-airline](https://github.com/vim-airline/vim-airline) instead as it's hard to config)  \n[▲] **line mover**: Move line using `ctrl+UP` and `ctrl+DOWN`. (Indentation might be wrong)  \n[✓] **WSL yank**: Copy yanked content to Windows clipboard w/o installing other programs  \n[✓] **matchit.vim**: Use % to jump between correspond surrounds and if, else if, else  \n[✓] [**fzf**](https://github.com/junegunn/fzf): The fuzzy finder  \n\n## Installation\n- [Node.js](#node.js)\n- [Powerline](#powerline)\n- [Plugins using [vim-plug]](#plugins-using-vim-plug)\n- [Clangd](#clangd-of-coc)\n- [fzf](#fzf)\n- [VimSpector](#vimspector)\n### Node.js\nThis guide allows you to install Node.js using nvm\n#### step 1: Install cURL\n```bash\nsudo apt install curl\n```\n#### step 2: Select the desired version of nvm\n[GitHub page](https://github.com/nvm-sh/nvm/releases)\n#### step 3: Install nvm\n```bash\ncurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/\u003cversion\u003e/install.sh | bash\n```\nfor example\n```bash\ncurl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash\n```\n#### step4: Check nvm installation\n```bash\ncommand -v nvm\n```\nThis should gives you `nvm`. If it fails to do so, please take a look at [their GitHub page](https://github.com/nvm-sh/nvm)\n#### step5: List installed Node.js (there should be no any at the moment)\n```bash\nnvm ls\n```\n![example output](https://docs.microsoft.com/zh-tw/windows/images/nvm-no-node.png)\n*credit goes to Microsoft*\n#### step6: Install Node.js\nway1: install LTS-version\n```bash\nnvm install --lts\n```\nway2: install newest version (may contain bugs)\n```bash\nnvm install node\n```\n#### step7: Check Node.js status\n```bash\nnvm ls\n```\nNow, you should be able to see it.  \n![example output](https://docs.microsoft.com/zh-tw/windows/images/nvm-node-installed.png)\n*credit goes to Microsoft*\n\n### PowerLine\n#### step1: Change directory to a place your WSL distro can reach\n#### step2: Get PowerLine\n```bash\ngit clone https://github.com/powerline/powerline.git\n```\n#### step3: Move to it\n```bash\ncd powerline\n```\n#### step4(optional, recommended): switch to a newest version of release, instead of devlopement one\n```bash\ngit checkout $(git rev-list --tags --max-count=1)\n```\n\u003e The above line receives hash of the last release commit, and make the files conform with it\n#### step5: Install\n```bash\npip install -e .\n```\n#### step6: Make executables visible\nPut this line in your `.bashrc` or something alike\n```bash\nexport PATH=\"$HOME/.local/bin:$PATH\"\n```\n#### step7: Get font\nFollow [their guide](https://powerline.readthedocs.io/en/latest/installation.html#fonts-installation) to get a font. Then, change settings of your Windows Terminal\n#### step8(optional): turn on the daemon\nIf you use git, it's nice to turn it on to improve performance a lot. To do so, put this in your `.bashrc` or something alike.\n```bash\npowerline-daemon -q\n```\n#### step9: restart your terminal or source `.bashrc`\n\n### Plugins using [vim-plug](https://github.com/junegunn/vim-plug)\n#### step1: Enter your Vim\n#### step2: Upgrade [vim-plug](https://github.com/junegunn/vim-plug) itself by `:PlugUpgrade`\n#### step3: In normal mode, type `:PlugInstall` to get plugins\n#### step4: Restart Vim\n\n### Clangd of coc\n#### step1: Enter your Vim\n#### step2: In normal mode, type `:CocCommand clangd.install`\n\n### fzf\nPersonally, I use `git` to pull newest releases. Head over [their guide](https://github.com/junegunn/fzf#using-git) and everything explained\n\n### VimSpector\n#### linux\n1. It seems that it's recommended to use GDB rather than LLDB on linux\n```sh\nsudo apt install gdb\n```\n2. If you want to use default settings for C/C++/C#/Rust, link the file to appropriate location\n```sh\ncd ~/.vim/plugged/vimspector/configurations/linux/_all\nln -s ../../../../../vimspector.json vimspector.json\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimsu92%2Fvimrc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimsu92%2Fvimrc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimsu92%2Fvimrc/lists"}