{"id":25019683,"url":"https://github.com/djeada/vim-config","last_synced_at":"2025-10-10T10:33:06.230Z","repository":{"id":114372344,"uuid":"361892045","full_name":"djeada/VIM-Config","owner":"djeada","description":"My vim configuration + vim cheat sheet.","archived":false,"fork":false,"pushed_at":"2023-02-01T21:21:41.000Z","size":58,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-08-11T13:52:14.274Z","etag":null,"topics":["vim"],"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/djeada.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-04-26T20:57:33.000Z","updated_at":"2024-09-30T18:47:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"45cfe1a8-53f9-4fec-af59-08e2d7567acc","html_url":"https://github.com/djeada/VIM-Config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/djeada/VIM-Config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FVIM-Config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FVIM-Config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FVIM-Config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FVIM-Config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/djeada","download_url":"https://codeload.github.com/djeada/VIM-Config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/djeada%2FVIM-Config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003549,"owners_count":26083595,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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"],"created_at":"2025-02-05T11:51:24.763Z","updated_at":"2025-10-10T10:33:06.222Z","avatar_url":"https://github.com/djeada.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VIM Config\nModern, fast, and friendly Vim setup for Vim 8+ and Neovim. Sensible defaults, curated plugins, ergonomic keymaps.\n\n## Highlights\n- Sensible defaults: relative numbers, smart search (ignorecase+smartcase), cursorline, splits to the right/below\n- Robust files: backup/swap/undo directories with persistence and timestamped backups\n- Better UX: Airline statusline, material theme, whitespace toggle, trailing space trim on save\n- Editing power-ups: Surround, Commentary, AutoPairs, EditorConfig\n- Navigation \u0026 search: fzf fuzzy finder, NERDTree file explorer\n- Git integration: Fugitive and GitGutter signs\n\n## Quick install\n\n1) Clone the repo\n\n```bash\ngit clone https://github.com/djeada/VIM-Config.git\ncd VIM-Config\n```\n\n2) Copy .vimrc (Vim) or init.vim (Neovim)\n\n```bash\n# Vim\ncp .vimrc ~/.vimrc\n\n# Neovim (optional)\nmkdir -p ~/.config/nvim\ncp .vimrc ~/.config/nvim/init.vim\n```\n\n3) Start Vim and install plugins\n\nOpen Vim and it will auto-install vim-plug if missing. Then run:\n\n```vim\n:PlugInstall\n```\n\nOptional: you can run the helper script to do steps 2-3 automatically and ensure tools like fzf are built:\n\n```bash\n./scripts/setup.sh\n```\n\nOr use Make:\n\n```bash\nmake install\n```\n\nTo update plugins later:\n\n```bash\nmake plug-update\n```\n\n## Requirements\n- Vim 8.0+ or Neovim\n- curl (for bootstrapping vim-plug)\n- fzf build tools (optional): make, gcc\n- On Linux for system clipboard: xclip or xsel\n - ripgrep (optional, for faster :Rg search)\n\n## Key shortcuts\n- \u003cleader\u003e is \",\"\n- Toggle NERDTree: ,n\n- Reveal current file in tree: ,e\n- Files (fzf): ,f\n- Git files (fzf): ,g\n- Buffers (fzf): ,b\n- Clear search highlight: ,h\n- Toggle whitespace list: ,l\n- Buffer next/prev: ,bn / ,bp — delete: ,bd\n- Toggle relative line numbers: ,rn\n- Toggle wrap: ,wr\n- Toggle spell: ,ss\n- Undo tree: ,u\n- Align text: visual select then `ga` (vim-easy-align)\n- Ripgrep search: ,r followed by query (requires ripgrep)\n\n## Plugins\n- Theme/UI: kaicataldo/material.vim, vim-airline/vim-airline, vim-airline/vim-airline-themes\n- Syntax: sheerun/vim-polyglot\n- Editing: tpope/vim-surround, tpope/vim-commentary, tpope/vim-repeat, jiangmiao/auto-pairs, editorconfig/editorconfig-vim, mbbill/undotree, junegunn/vim-easy-align\n- Files \u0026 search: preservim/nerdtree, junegunn/fzf, junegunn/fzf.vim\n- Git: tpope/vim-fugitive, airblade/vim-gitgutter\n\n## Customization\nTweak indentation per language in `.vimrc` under the `filetype_indents` group, and adjust leader mappings to your taste.\n\n- Local overrides: create `~/.vimrc.local` to add machine-specific tweaks; it will be sourced if present.\n\n## Troubleshooting\n- If colors look off, check `:echo has('termguicolors')` and your terminal truecolor support.\n- If the clipboard doesn't work, install `xclip` or `xsel` on Linux, or set `set clipboard=` to disable integration.\n- If `:Files` fails, ensure fzf is installed/built. Re-run `:PlugInstall` then `:call fzf#install()`.\n - If headless `PlugInstall` fails in CI/containers, open Vim interactively and run `:PlugInstall`.\n - If ripgrep commands fail, install `rg` and ensure it’s on PATH.\n\n## Utilities\n\n- Install: `./scripts/setup.sh` or `make install`\n- Update plugins: `make plug-update`\n- Uninstall: `./scripts/uninstall.sh` or `make uninstall`\n- Health check: `./scripts/doctor.sh` to verify dependencies\n- Symlink instead of copy: `./scripts/link.sh` creates symlinks for dotfiles\n\n## Uninstall\n\nRemove installed files and plugin directories:\n\n```bash\n./scripts/uninstall.sh\n```\n\n## CI\n\nThis repo includes a basic GitHub Actions workflow to run ShellCheck on scripts and lint `.vimrc` with `vint`.\n\n## License\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjeada%2Fvim-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdjeada%2Fvim-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdjeada%2Fvim-config/lists"}