{"id":19730566,"url":"https://github.com/begriffs/vimrc","last_synced_at":"2025-09-01T20:33:59.054Z","repository":{"id":4512270,"uuid":"5651993","full_name":"begriffs/vimrc","owner":"begriffs","description":"An old plugin-heavy vim config (I do things differently nowadays)","archived":false,"fork":false,"pushed_at":"2019-07-21T08:49:29.000Z","size":47,"stargazers_count":31,"open_issues_count":4,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-10T17:50:14.741Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/begriffs.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-09-02T21:23:52.000Z","updated_at":"2022-05-03T22:03:23.000Z","dependencies_parsed_at":"2022-09-02T21:20:30.610Z","dependency_job_id":null,"html_url":"https://github.com/begriffs/vimrc","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/begriffs%2Fvimrc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fvimrc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fvimrc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/begriffs%2Fvimrc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/begriffs","download_url":"https://codeload.github.com/begriffs/vimrc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241055943,"owners_count":19901687,"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":[],"created_at":"2024-11-12T00:16:49.516Z","updated_at":"2025-02-27T20:22:30.482Z","avatar_url":"https://github.com/begriffs.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Deprecation warning:\n\nI've learned quite a bit since creating this project, and now prefer\nbuilt-in editor functionality to these plugins. See my article:\nhttps://begriffs.com/posts/2019-07-19-history-use-vim.html\n\n\u003chr /\u003e\n\n## Original readme:\n\nThis is a full featured yet fast vim configuration. It doesn't do any\nprocessing unless you ask. The keymapping aggregates commands from\nvarious plugins into logical groups, as documented below.\n\nYou can [read more](http://blog.begriffs.com/2012/09/bespoke-vim.html)\nabout the design and ideas behind this Vim config.\n\n## Installation / Upgrading\n\nOne command does it all.\n\n    curl -o - https://raw.githubusercontent.com/begriffs/vimrc/master/install.sh | sh\n\nDon't worry, it will back up your existing vim configuration.\n\n## Keybindings\n\nThese dotfiles organize commands into logical groups to help you\nremember them.\n\n### Running Things\n\nIf you open a tmux terminal alongside MacVim then you can run commands,\ntests, and a REPL from your vim selections.\n\n\u003ctable\u003e\n\u003ctbody\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,rs\u003c/td\u003e\u003ctd\u003eSend selected text to tmux\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,rv\u003c/td\u003e\u003ctd\u003eChange tmux session, window, and pane attachment\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,rT\u003c/td\u003e\u003ctd\u003eRun all tests in open feature\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,rt\u003c/td\u003e\u003ctd\u003eRun test under cursor\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n### Tags\n\n\u003ctable\u003e\n\u003ctbody\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,tu\u003c/td\u003e\u003ctd\u003eGenerate or update ctags\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,tt\u003c/td\u003e\u003ctd\u003eOpen list of methods, classes, etc\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eC-]\u003c/td\u003e\u003ctd\u003eGo to definition/step of word\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eC-\\\u003c/td\u003e\u003ctd\u003eFind all uses of word under cursor\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n### Git\n\n\u003ctable\u003e\n\u003ctbody\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,g?\u003c/td\u003e\u003ctd\u003eLast-committed files (Monday morning key)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,gs\u003c/td\u003e\u003ctd\u003eGit status (fugitive)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,gg\u003c/td\u003e\u003ctd\u003eGit grep\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,gl\u003c/td\u003e\u003ctd\u003eGit log (extradition)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,gd\u003c/td\u003e\u003ctd\u003eGit diff\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,gb\u003c/td\u003e\u003ctd\u003eGit blame\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n### Commenting\n\n\u003ctable\u003e\n\u003ctbody\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e\\\\\u003c/td\u003e\u003ctd\u003eToggle selection as commented\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n### Aligning\n\n\u003ctable\u003e\n\u003ctbody\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,a=\u003c/td\u003e\u003ctd\u003eAlign on equal signs\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,a,\u003c/td\u003e\u003ctd\u003eAlign on commas\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,a|\u003c/td\u003e\u003ctd\u003eAlign on vertical bar\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,ap\u003c/td\u003e\u003ctd\u003eAlign on character of your choice\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n### Selection\n\n\u003ctable\u003e\n\u003ctbody\u003e\n  \u003ctr\u003e\n    \u003ctd\u003evai\u003c/td\u003e\u003ctd\u003eSelect whole block at indentation\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003evii\u003c/td\u003e\u003ctd\u003eSelect inside block at indentation\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003evar\u003c/td\u003e\u003ctd\u003eSelect whole Ruby block\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003evir\u003c/td\u003e\u003ctd\u003eSelect inside Ruby block\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n### Conversion\n\n\u003ctable\u003e\n\u003ctbody\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,2s\u003c/td\u003e\u003ctd\u003eConvert symbol under cursor from symbol to string\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,2y\u003c/td\u003e\u003ctd\u003eConvert string under cursor from string to symbol\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,2_\u003c/td\u003e\u003ctd\u003eConvert string under cursor to snake_case\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,2c\u003c/td\u003e\u003ctd\u003eConvert string under cursor to camelCase\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,2m\u003c/td\u003e\u003ctd\u003eConvert string under cursor to MixedCase\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,2u\u003c/td\u003e\u003ctd\u003eConvert string under cursor to SNAKE_UPPERCASE\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,2-\u003c/td\u003e\u003ctd\u003eConvert string under cursor to dash-case\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n### Splits and find file\n\n\u003ctable\u003e\n\u003ctbody\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,\u0026lt;space\u0026gt;\u003c/td\u003e\u003ctd\u003eFuzzy file find (CtrlP)\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,sj\u003c/td\u003e\u003ctd\u003eOpen split below\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,sk\u003c/td\u003e\u003ctd\u003eOpen split above\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,sh\u003c/td\u003e\u003ctd\u003eOpen split leftward\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,sl\u003c/td\u003e\u003ctd\u003eOpen split rightward\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n### Misc\n\n\u003ctable\u003e\n\u003ctbody\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,u\u003c/td\u003e\u003ctd\u003eInteractive undo tree\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,ss\u003c/td\u003e\u003ctd\u003eEnable spell checking\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,e\u003c/td\u003e\u003ctd\u003eOpen file prompt with current path\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,\u0026lt;cr\u0026gt;\u003c/td\u003e\u003ctd\u003eClear search highlights\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eC-s\u003c/td\u003e\u003ctd\u003eToggle nerd tree, find file\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,ff\u003c/td\u003e\u003ctd\u003eToggle MacVim fullscreen mode\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003e,r\u003c/td\u003e\u003ctd\u003eRedraw screen\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eC-h\u003c/td\u003e\u003ctd\u003eMove cursor to leftward pane\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eC-k\u003c/td\u003e\u003ctd\u003eMove cursor to upward pane\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eC-j\u003c/td\u003e\u003ctd\u003eMove cursor to downward pane\u003c/td\u003e\n  \u003c/tr\u003e\n  \u003ctr\u003e\n    \u003ctd\u003eC-l\u003c/td\u003e\u003ctd\u003eMove cursor to rightward pane\u003c/td\u003e\n  \u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Customizing\n\nAdd your own settings to `~/.vimrc.local` and they will be loaded.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbegriffs%2Fvimrc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbegriffs%2Fvimrc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbegriffs%2Fvimrc/lists"}