{"id":20553302,"url":"https://github.com/mflu/vimfiles","last_synced_at":"2026-02-15T20:02:03.564Z","repository":{"id":145248091,"uuid":"7161404","full_name":"mflu/vimfiles","owner":"mflu","description":"vimfiles","archived":false,"fork":false,"pushed_at":"2013-03-22T06:01:21.000Z","size":192,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T06:18:23.750Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"VimL","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/mflu.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-12-14T07:05:40.000Z","updated_at":"2014-01-02T14:10:37.000Z","dependencies_parsed_at":"2023-03-22T18:05:43.957Z","dependency_job_id":null,"html_url":"https://github.com/mflu/vimfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mflu/vimfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mflu%2Fvimfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mflu%2Fvimfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mflu%2Fvimfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mflu%2Fvimfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mflu","download_url":"https://codeload.github.com/mflu/vimfiles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mflu%2Fvimfiles/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000640,"owners_count":26082879,"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-08T02:00:06.501Z","response_time":56,"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":"2024-11-16T02:40:50.525Z","updated_at":"2025-10-09T00:41:21.264Z","avatar_url":"https://github.com/mflu.png","language":"VimL","funding_links":[],"categories":[],"sub_categories":[],"readme":"Mislav's vim configuration\n==========================\n\nThanks to these guys:\n\n* [Gary Bernhardt](http://destroyallsoftware.com),\n* [Drew Neil](http://vimcasts.org),\n* [Tim Pope](http://tbaggery.com),\n* and the [Janus project](https://github.com/carlhuda/janus).\n\nMy configuration uses [Pathogen](https://github.com/tpope/vim-pathogen) and git submodules.\n(But you don't need to care about any of that.)\n\n## Installation:\n\nPrerequisites: ruby, git.\n\n1. Move your existing configuration somewhere else:  \n   `mv ~/.vim* ~/.gvim* my_backup`\n2. Clone this repo into \".vim\":  \n   `git clone https://github.com/mislav/vimfiles ~/.vim`\n3. Go into \".vim\" and run \"rake\":  \n   `cd ~/.vim \u0026\u0026 rake`\n\nThis will install \"~/.vimrc\" and \"~/.gvimrc\" symlinks that point to\nfiles inside the \".vim\" directory.\n\n## Features:\n\n### `vimrc`\n\n* 2 spaces, no tabs\n* incremental, case-insensitive search\n* `\u003cCR\u003e` - remove highlighting after search\n* `\u003cC-j/k/h/l\u003e` - switch between splits (no need to prepend `\u003cC-w\u003e`)\n* cursor keys for movement are disabled!\n* `Q` - format lines\n* `,,` alternates between two most recent buffers\n* `,f` - jump to file:\n  * `,F` - search in directory of current buffer\n  * `,gl` - in `lib/`\n  * `,gm` - in `app/models`\n  * `,gv` - in `app/views`\n  * `,gc` - in `app/controllers`\n* `,cf` - search for merge conflicts in buffer\n* `:KillWhitespace` - strip trailing whitespace\n\n### Ack\n\n* `:Ack -w foo_bar --no-js --no-css`\n* `:Ack!` - search, but don't jump to first match\n* `:AckFromSearch`\n* `:AckAdd` - append to existing quickfix list\n\n### Surround\n\n* `cs\"'` - change string from double to single quotes\n* `ds(` - delete surrounding parentheses\n* `ysiW]` - surround current WORD with square brackets\n* `ysst` - surround current line in a HTML tag\n* `ysip\u003cc-t\u003e` - nest current paragraph in a HTML tag\n\nVisual mode: `S`. Insert mode: `\u003cc-s\u003e`.\n\nSurround + rails.vim:\n\n* `-` → `\u003c% -%\u003e`\n* `=` → `\u003c%= %\u003e`\n* `#` → `\u003c%# %\u003e`\n* `e` - nest block and append `end` keyword\n* `E` - like `e`, but prompt for text to prepend before block\n\n### Commentary\n\n* `\\\\{motion}` - comment/uncomment lines that {motion} moves over\n* `\\\\\\` - comment/uncomment [count] lines\n* `{Visual}\\\\` - comment/uncomment the highlighted lines\n* `\\\\u` - uncomment the current and adjacent commented lines\n\n### ruby.vim\n\nMotions:\n\n* `]m` / `[m` - next / previous method\n* `]M` / `[M` - end of method definition\n* `]]` / `[[` - next / previous class/module\n* `][` / `[]` - end of class/module\n\nText objects:\n\n* `am` - a method\n* `im` - inner method\n* `aM` - a class\n* `iM` - inner class\n\n### matchit.vim\n\n`%` alternates between matching HTML tags, class/control flow statements and\nmatching `end` in Ruby, and more. Also works in visual mode.\n\n### Tabular\n\nIn visual mode:\n\n* `:Tabularize assignment`\n* `:Tabularize argument_list`\n* `:Tabularize /=\u003e`\n\n### Fugitive\n\n* `:Gcommit`\n* `:Gstatus`\n  * jump between lines that represent files with `\u003cc-n\u003e`, `\u003cc-p\u003e`\n  * `-` - add/reset file (visual mode too)\n  * `\u003cEnter\u003e` - open current file in the window below\n  * `p` - run `git add --patch` for current file\n  * `C` - invoke `:Gcommit`\n* `:[range]Gbrowse! -` - copy GitHub URL for code that's currently selected\n* `:[range]Gblame`\n\n* `:Gedit feature:%` - version of the current file in the \"feature\" branch\n* `:Gwrite` - `add %`\n* `:Gread` - `checkout %`\n* `:Gremove` - `rm %`\n* `:Gmove \u003cdest\u003e` - `mv % \u003cdest\u003e`\n\n### Pathogen\n\nQuickly open vim runtime files:\n\n* `:Vedit`\n* `:Vsplit`\n* `:Vvsplit`\n* `:Vtabedit`\n* `:Vpedit`\n* `:Vread`\n\nExample:\n\n    :Vsp s/pd\u003cTab\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmflu%2Fvimfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmflu%2Fvimfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmflu%2Fvimfiles/lists"}