{"id":31333358,"url":"https://github.com/code-samples-galore/config-vim","last_synced_at":"2025-09-26T01:53:12.300Z","repository":{"id":312427392,"uuid":"1031419941","full_name":"Code-Samples-Galore/Config-Vim","owner":"Code-Samples-Galore","description":"Vim configuration.","archived":false,"fork":false,"pushed_at":"2025-08-30T13:26:09.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-30T15:28:00.465Z","etag":null,"topics":["config","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/Code-Samples-Galore.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":"2025-08-03T17:43:56.000Z","updated_at":"2025-08-30T13:26:12.000Z","dependencies_parsed_at":"2025-08-30T15:28:01.876Z","dependency_job_id":"4a8f1c30-eab4-40ef-b30d-b683c2a83693","html_url":"https://github.com/Code-Samples-Galore/Config-Vim","commit_stats":null,"previous_names":["code-samples-galore/config-vim"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Code-Samples-Galore/Config-Vim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Samples-Galore%2FConfig-Vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Samples-Galore%2FConfig-Vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Samples-Galore%2FConfig-Vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Samples-Galore%2FConfig-Vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Code-Samples-Galore","download_url":"https://codeload.github.com/Code-Samples-Galore/Config-Vim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Code-Samples-Galore%2FConfig-Vim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277009874,"owners_count":25744543,"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-09-25T02:00:09.612Z","response_time":80,"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":["config","vim"],"created_at":"2025-09-26T01:53:11.264Z","updated_at":"2025-09-26T01:53:12.296Z","avatar_url":"https://github.com/Code-Samples-Galore.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📝 Vim Configuration\n\nA modular vim configuration split into two main files for better organization and flexibility.\n\n## 📂 Files Overview\n\n- **`config.vim`** - Core vim settings, mappings, and basic functionality\n- **`plugins.vim`** - Plugin management, installation, and plugin-specific configurations\n\n## ⚡️ Setup Instructions\n\n### 1️⃣ Option 1: Basic Configuration (No Plugins)\n\nIf you only want the core vim settings without plugins, add this to your `~/.vimrc`:\n\n```vim\n\" Source basic vim configuration\nsource ~/config_vim/config.vim\n```\n\n### 2️⃣ Option 2: Full Configuration (With Plugins)\n\nFor the complete setup including automatic plugin management, add this to your `~/.vimrc`:\n\n```vim\n\" Source plugin management and configurations\nsource ~/config_vim/plugins.vim\n\n\" Source basic vim configuration\nsource ~/config_vim/config.vim\n```\n\n**Note:** Source `plugins.vim` first to ensure plugins are loaded before the main configuration.\n\n## ✨ Features\n\n### ⚙️ Core Configuration (`config.vim`)\n- Optimized display settings with line numbers and syntax highlighting\n- Smart indentation and formatting rules\n- Enhanced search functionality\n- Custom key mappings and leader shortcuts\n- Automatic file handling and backup management\n- Custom status line with git branch display\n- Auto-closing brackets and quotes\n- File-type specific settings\n\n### 🔌 Plugin Management (`plugins.vim`)\n- Automatic vim-plug installation\n- Auto-installation of missing plugins\n- Periodic plugin updates (every 7 days)\n- Configured plugins:\n  - **gruvbox** - Color scheme\n  - **NERDTree** - File explorer\n  - **vim-airline** - Enhanced status line\n  - **vim-polyglot** - Language pack\n  - **vim-commentary** - Easy commenting\n  - **vim-surround** - Surround text objects\n  - **ALE** - Asynchronous linting\n  - **Tagbar** - Code structure overview\n  - **IndentLine** - Visual indentation guides\n\n## ⌨️ Key Mappings\n\n- `\u003cleader\u003e` = `\\`\n- `jj` - Exit insert mode\n- `\u003cspace\u003e` - Enter command mode\n- `\u003cleader\u003ew` - Quick save\n- `\u003cleader\u003eq` - Quick quit\n- `\u003cCtrl-t\u003e` - Toggle NERDTree\n- `\u003cF5\u003e` - Run Python script\n- `\u003cF6\u003e` - Run current file (language-aware)\n- `\u003cF8\u003e` - Toggle Tagbar\n\n## 🤖 Auto-Features\n\n- Automatic plugin installation on first run\n- Periodic plugin updates (configurable interval)\n- Auto-creation of necessary directories\n- Trailing whitespace removal on save\n- Cursor position restoration when reopening files\n\n## 🛠️ Customization\n\nEdit the configuration files directly or override settings in your `~/.vimrc` after sourcing these files.\n\n## 📄 License\n\nMIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-samples-galore%2Fconfig-vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-samples-galore%2Fconfig-vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-samples-galore%2Fconfig-vim/lists"}