{"id":20961548,"url":"https://github.com/apetenchea/vimscripts","last_synced_at":"2026-05-22T08:12:27.949Z","repository":{"id":79893141,"uuid":"71053773","full_name":"apetenchea/VimScripts","owner":"apetenchea","description":"Some vim scripts that make my life easier.","archived":false,"fork":false,"pushed_at":"2024-10-10T14:11:03.000Z","size":26,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-20T00:48:26.065Z","etag":null,"topics":["eclim","vim","vimrc","vimscript"],"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/apetenchea.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":"2016-10-16T13:59:18.000Z","updated_at":"2024-10-10T14:11:08.000Z","dependencies_parsed_at":"2025-01-20T00:45:33.146Z","dependency_job_id":"b323ef3c-be9d-4ae7-a8b1-cc5830dbf9e5","html_url":"https://github.com/apetenchea/VimScripts","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/apetenchea%2FVimScripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apetenchea%2FVimScripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apetenchea%2FVimScripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apetenchea%2FVimScripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apetenchea","download_url":"https://codeload.github.com/apetenchea/VimScripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243358306,"owners_count":20277995,"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":["eclim","vim","vimrc","vimscript"],"created_at":"2024-11-19T02:14:12.370Z","updated_at":"2025-12-26T08:09:20.615Z","avatar_url":"https://github.com/apetenchea.png","language":"Vim Script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VimScripts\nSome vim scripts that make my life easier.\u003cbr\u003e\n\u003chr\u003e\n\n# Current setup\nQuite minimalist, with only a few key mappings. See my current [vimrc](vimrc)\n\nUsing the following plugins:\n1. [pathogen](https://github.com/tpope/vim-pathogen)\n2. [nerdtree](https://github.com/scrooloose/nerdtree)\n\n# Old setup\nI'm keeping the old setup here for fun.  \nI used to have the following plugins installed:\n\n1. [pathogen](https://github.com/tpope/vim-pathogen)\n2. [nerdtree](https://github.com/scrooloose/nerdtree)\n3. [vim-localvimrc](https://github.com/embear/vim-localvimrc)\n4. [syntastic](https://github.com/vim-syntastic/syntastic)\n5. [YouCompleteMe](https://github.com/Valloric/YouCompleteMe)\n6. [rust.vim](https://github.com/rust-lang/rust.vim)\n\u003chr\u003e\n\n## [vimrc](vimrc_old)\nMy .vimrc file. Nowadays it's actually much more minimalist, but my nostalgia makes me keep this one up here.\n\u003chr\u003e\n\n## [ideavimrc](ideavimrc)\nMy .ideavimrc file. I use it together with [IdeaVim](https://github.com/JetBrains/ideavim) when coding in JetBrains IDEs.\n\u003chr\u003e\n\n## [eclim-extra](eclim-extra)\nThis script adds some features on top of the [Eclim](https://github.com/ervandew/eclim) plugin. \nThe lack of a command which could start Eclim from within Vim was annoying.\nThe `StartEclim` command in this script does exactly just that!\u003cbr\u003e\n*How it works*\u003cbr\u003e\nIt first checks if the Eclim server is already running. If not, it starts it in background. When the Vim instance which started the server is closed, the server is also stopped automatically.\u003cbr\u003e\nAlso, this script adds some nice features that go along with Eclim, such as Javadoc comment folding and useful mappings.\u003cbr\u003e\n\n**Configuration**\u003cbr\u003e\nDetails about Eclim can be found [here](http://eclim.org/).\u003cbr\u003e\n*Set `s:eclimd_path` to the path of your Eclim server*\u003cbr\u003e\nThe variable `s:eclimd_path` should contain the path to *eclimd*, which can be found in the folder where Eclim was installed.\u003cbr\u003e\n*Using vim-localvimrc*\u003cbr\u003e\nThe best way to use eclim-extra is alongside [vim-localvimrc](https://github.com/embear/vim-localvimrc). This will enable you to automatically run the Eclim server in background, whenever Vim is started inside your Eclipse workspace. If not, you can manually start it by using the `StartEclim` command.\u003cbr\u003e\nAfter you've installed vim-localvimrc, you should disable sandbox mode. Add this to your .vimrc:\n```Vim script\n\" Disable sandbox mode for localvimrc.\ng:localvimrc_sandbox = 0\n```\nIn order to load .lvimrc files automatically, without asking, add this to your .vimrc:\n```Vim script\n\" Don't ask before loading a .lvimrc file.\ng:localvimrc_ask = 0\n```\nNOTE: if there are multiple users on the same machine, first make sure that it is safe to disable sanbox mode!\u003cbr\u003e\nThen, simply put the contents of the eclim-extra script inside a file named *.lvimrc*, created in your eclipse workspace.\u003cbr\u003e\nNow, the Eclim server will start automatically with Vim, inside the Eclipse workspace.\u003cbr\u003e\nWhen you don't want the Eclim server to be started automatically, you can start Vim like this:\n```Bash\nvim --cmd 'let g:noeclim=1' \n```\n\n**Usage**\u003cbr\u003e\nTo start the Eclim server from whithin Vim use:\n```Vim script\n:StartEclim\n```\n\n**Mappings**\u003cbr\u003e\n1. *CTRL+b* -\u003e build project + toggle quickfix window.\n\n**Tips**\u003cbr\u003e\n1. Regarding Eclim and [checkstyle](checkstyle.sourceforge.net), I ran into some problems, which I fixed by following [this](https://www.chromium.org/developers/checkstyle) advice.\u003cbr\u003e\n2. How to check your default Eclipse workspace:\n    1. Go to $HOME/eclipse/configuration\n    2. In the *config.ini* file you should see a line:\n    ```\n      osgi.instance.area.default=your_default_workspace\n    ```\n\n**About the code**\u003cbr\u003e\nThe code aims to follow the [Google Vimscript Style Guide](https://google.github.io/styleguide/vimscriptguide.xml).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapetenchea%2Fvimscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapetenchea%2Fvimscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapetenchea%2Fvimscripts/lists"}