{"id":19382236,"url":"https://github.com/iggredible/totitle-vim","last_synced_at":"2025-10-07T10:51:04.516Z","repository":{"id":98749636,"uuid":"371759192","full_name":"iggredible/totitle-vim","owner":"iggredible","description":"The titlecase operator that you wish Vim had","archived":false,"fork":false,"pushed_at":"2021-06-10T12:51:50.000Z","size":10,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T20:47:41.639Z","etag":null,"topics":["capitalization","capitalize","case","operator","plugin","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iggredible.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-28T16:27:04.000Z","updated_at":"2024-10-30T20:18:44.000Z","dependencies_parsed_at":"2023-05-25T03:30:23.681Z","dependency_job_id":null,"html_url":"https://github.com/iggredible/totitle-vim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/iggredible/totitle-vim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iggredible%2Ftotitle-vim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iggredible%2Ftotitle-vim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iggredible%2Ftotitle-vim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iggredible%2Ftotitle-vim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iggredible","download_url":"https://codeload.github.com/iggredible/totitle-vim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iggredible%2Ftotitle-vim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278762921,"owners_count":26041444,"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-07T02:00:06.786Z","response_time":59,"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":["capitalization","capitalize","case","operator","plugin","vim"],"created_at":"2024-11-10T09:20:08.006Z","updated_at":"2025-10-07T10:51:04.462Z","avatar_url":"https://github.com/iggredible.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Totitle.vim\n\nTotitle.vim is a plugin that adds an operator to titlecase your text.\n\n*This project was inspired by Chris Toomley's [vim-titlecase](https://github.com/christoomey/vim-titlecase) plugin, with some added improvements.*\n\n# Usage\n\nVim comes with three case operators: uppercase (`gU`), lowercase (`gu`), and toggle-case (`g~`). Totitle introduces the `gt` operator. Being an operator, it accepts motions (including text objects). It can also be repeated with the dot command (`.`).\n\n```\n[s]now white and the seven dwarves\n```\n\nSuppose that your cursor is on the letter s as shown above:\n- To titlecase the innerword, run `gtiw`. It will titlecase it to \"Snow\".\n- To titlecase the next two words, run `gt2w`. It will titlecase them to \"Snow White\".\n- To titlecase the current line, run `gtt`. It will titlecase it to \"Snow White and the Seven Dwarves\".\n\n# Key Bindings\n\nThe default key binding is `gt`. It overwrites Vim's `:tabn` command. If you want to map it to a different key binding, like `gz`, add this in your vimrc:\n\n```\nlet g:totitle_default_keys = 0\n\nnnoremap \u003cexpr\u003e gz ToTitle()\nxnoremap \u003cexpr\u003e gz ToTitle()\nnnoremap \u003cexpr\u003e gzz ToTitle() .. '_'\n```\n\n# Installation\n\nFor example, if you use [vim-plug](https://github.com/junegunn/vim-plug):\n\n```\ncall plug#begin('~/.vim/plugged')\n  Plug 'iggredible/totitle-vim'\ncall plug#end()\n```\n\nRestart Vim / source your vimrc, then run `:PlugInstall`.\n\nIt should work with other plugin managers too.\n\nIf you use packages (`:h packages`):\n\n```\ngit clone https://github.com/iggredible/totitle-vim.git ~/.vim/pack/vendor/start/totitle-vim\nvim -u NONE -c \"helptags ~/.vim/pack/vendor/start/totitle-vim/doc/\" -c q\n```\n\n# License\n\nSame as Vim license (`:h license`).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figgredible%2Ftotitle-vim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Figgredible%2Ftotitle-vim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Figgredible%2Ftotitle-vim/lists"}