{"id":33146985,"url":"https://github.com/bpowell/vim-android","last_synced_at":"2026-01-20T07:31:29.183Z","repository":{"id":4318634,"uuid":"5452669","full_name":"bpowell/vim-android","owner":"bpowell","description":"Vim plugin to do android development.","archived":false,"fork":false,"pushed_at":"2020-03-02T20:51:58.000Z","size":74,"stargazers_count":181,"open_issues_count":5,"forks_count":19,"subscribers_count":21,"default_branch":"master","last_synced_at":"2023-11-07T21:01:05.913Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vim script","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bpowell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-08-17T13:38:51.000Z","updated_at":"2023-09-11T01:10:21.000Z","dependencies_parsed_at":"2022-08-06T16:15:07.472Z","dependency_job_id":null,"html_url":"https://github.com/bpowell/vim-android","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/bpowell/vim-android","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpowell%2Fvim-android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpowell%2Fvim-android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpowell%2Fvim-android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpowell%2Fvim-android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bpowell","download_url":"https://codeload.github.com/bpowell/vim-android/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bpowell%2Fvim-android/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285389437,"owners_count":27163377,"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-11-20T02:00:05.334Z","response_time":54,"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":[],"created_at":"2025-11-15T13:00:40.319Z","updated_at":"2026-01-20T07:31:29.175Z","avatar_url":"https://github.com/bpowell.png","language":"Vim script","funding_links":[],"categories":["Libs"],"sub_categories":["\u003cA NAME=\"Plugin\"\u003e\u003c/A\u003ePlugin"],"readme":"# vim-android\nDevelop for Android using vim.\n\n## Overview\nThere are three vim scripts that are included in this setup. Those scripts are:\n1. SuperTab\n\t- [GitHub](https://github.com/ervandew/supertab.git)\n\t- [Vim.org](http://www.vim.org/scripts/script.php?script_id=1643)\n\n\tSuperTab allows us to autocomplete with the tab key.\n2. snipMate\n\t- [GitHub](https://github.com/garbas/vim-snipmate.git)\n\t- [Vim.org](http://www.vim.org/scripts/script.php?script_id=2540)\n\n\tsnipMate gives us the ability to add some abilities of the text editor TextMate.\n\n3. javacomplete2\n\t- [GitHub](https://github.com/artur-shaik/vim-javacomplete2.git)\n\t- [Vim.org](http://www.vim.org/scripts/script.php?script_id=5181)\n\n\tJavacomplete does the omnicompletion for the java and android classes/functions.\n\n## How it works\n\u003cstrong\u003efindAndroidManifest\u003c/strong\u003e is a custom vim script that uses python to do the heavy lifting.\nThis script will try and find an AndroidManifest.xml file in the current directory. If\nthe file is not found in the current directory. It will serach up the directory tree\nuntil it finds one or it hits the root directory. Everytime vim is started up and a\njava file is detected, the script is ran to find the AndroidManifest.xml. If the \nmanifest file is found, it will detect the version of android that you are targeting.\nIt then adds the jar file for the target version of android to the classpath. This \nway javacomplete can omnicomplete android classes/functions. The way omnicompletion\nworks is by pressing either the tab key or `[Ctrl + X]` and `[Ctrl + U]`.\n\n\u003cstrong\u003eadblogcat\u003c/strong\u003e is another custom vim script that uses some python. The current binding\nto use this script is \u003cF2\u003e. Pressing \u003cF2\u003e loads up a preview window with the output\nof `adb logcat`. The output of `adb logcat` is piped out to a file in the /tmp directory.\nThe exact file is /tmp/adb-logcat-output.adb. The preview window is loaded up with this\nfile. The preview window will be updated every second. As of right now, while the preview\nwindow is opened, you cannot edit the file you are working on. Before the preview window\nis updated, it jumps back to preview buffer and then updates. To turn this off and stop\n`adb logcat` hit \u003cF2\u003e again.\n\n## Requirements\n- ctags\n- Vim with Python bindings\n- Python\n- Android SDK\n- make\n- git\n\n## Installation\nFirst-time installation:\n```bash\nchmod +x android-install.sh\n./android-install.sh\n```\n\nThe installer for this setup generates a ctags file that is placed in your ~/.vim folder.\nThis is only ran once. Anytime that the Android SDK is updated you should run the following command:\n\n```bash\nctags --recurse --langmap=Java:.java --languages=Java --verbose -f ~/.vim/tags $ANDROID_SDK/sources\n```\n\nThis is what javacomplete uses for the android omnicompletion.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpowell%2Fvim-android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbpowell%2Fvim-android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbpowell%2Fvim-android/lists"}