{"id":16116674,"url":"https://github.com/dpc/vim-smarttabs","last_synced_at":"2026-03-05T01:34:07.264Z","repository":{"id":3221456,"uuid":"41830627","full_name":"dpc/vim-smarttabs","owner":"dpc","description":"Vim Smart Tabs","archived":false,"fork":false,"pushed_at":"2022-06-12T22:39:20.000Z","size":20,"stargazers_count":18,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-07T12:02:02.038Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Vim script","has_issues":false,"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/dpc.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":"2015-09-02T22:22:55.000Z","updated_at":"2023-04-29T09:53:52.000Z","dependencies_parsed_at":"2022-08-28T10:20:33.252Z","dependency_job_id":null,"html_url":"https://github.com/dpc/vim-smarttabs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dpc/vim-smarttabs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpc%2Fvim-smarttabs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpc%2Fvim-smarttabs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpc%2Fvim-smarttabs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpc%2Fvim-smarttabs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dpc","download_url":"https://codeload.github.com/dpc/vim-smarttabs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dpc%2Fvim-smarttabs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30104556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T01:06:53.091Z","status":"ssl_error","status_checked_at":"2026-03-05T01:02:35.679Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-10-09T20:25:16.001Z","updated_at":"2026-03-05T01:34:02.255Z","avatar_url":"https://github.com/dpc.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vim Smart Tabs\n\nThis is a github copy of [Smart Tabs : Use tabs for indent, spaces for alignment](http://www.vim.org/scripts/script.php?script_id=231) originally created by Michael Geddes.\n\nI copied it here just to be able to use it with vim plug and alikes, long time ago. I can't VimL, and\nI don't even use Vim anymore, so I only accept PRs, but don't actively maintain this library.\n\n## Alternatives\n\n* [Thyrum/vim-stabs](https://github.com/Thyrum/vim-stabs) - a redo of this library that is probably maintainer better\n\nNote: The alternatives are listed for your convenience, and I didn't do **any** researcher on them.\n\n## Introduction (adopted from from vim.org)\n\nThere are many different arguments about tabs and stuff.  My current personal\npreference is a choice of tabbing that is independent of anybody's viewing\nsetting.\n\nFor the beginning of the line, this means we can use \u003ctabs\u003e which will expand\nwhatever the reader wants it to.  Trying to line up tabs at the end of the line\nis a little trickier, and making a few assumptions, my preference is to use\nspaces there.\n\nThis script allows you to use your normal tab settings for the beginning of the\nline, and have tabs expanded as spaces anywhere else.  This effectively\ndistinguishes `indent` from `alignment`.\n\n* `\u003ctab\u003e`  Uses editor tab settings to insert a tab at the beginning of the\n  line (before the first non-space character), and inserts spaces otherwise.\n* `\u003cBS\u003e`  Uses editor tab settings to delete tabs or `expanded` tabs ala\n  `smarttab`\n\n`:RetabIndent[!] [tabstop]` - This is similar to the `:retab` command, with the\nexception that it affects all and only whitespace at the start of the line,\nchanging it to suit your current (or new) `tabstop` and `expandtab` setting.\nWith the bang (!) at the end, the command also strips trailing  whitespace.\n\n## Installation:\n\n### With Pathogen:\n\n```sh\nmkdir -p ~/.vim/bundle \u0026\u0026 cd ~/.vim/bundle \u0026\u0026 git clone https://github.com/dpc/vim-smarttabs.git\n```\n\nThen run `:Helptags` from within vim to add helptags for the documentation.\n\n### Using vim-plug:\n\nAdd this to your `init.vim` or `.vimrc`:\n```vim\nPlug 'dpc/vim-smarttabs'\n```\n\nThen run `:PlugInstall` from within vim.\n\n### Manually:\n\nJust copy `smarttabs.vim` into `~/.vim/plugin`. Notice that this will not\ninstall the documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpc%2Fvim-smarttabs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdpc%2Fvim-smarttabs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdpc%2Fvim-smarttabs/lists"}