AndrewRadev/splitjoin.vim
Switch between single-line and multiline forms of code observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 84
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5659
- days_rel: n/a
- days_push: 101
- n_releases_24m: 0
Adoption not part of the score
1973 stars · 90 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Vim plugin that switches code between single-line and multiline forms with two keybindings (gS to split, gJ to join). It supports many languages including Ruby, Python, JavaScript, HTML, CSS, Go, and Rust.
Use cases
- split a one-line if statement into a multiline block in vim
- join a multiline code block into a single line
- expand html tags across multiple lines while editing
- reformat code structure quickly in vim
- toggle between compact and expanded code styles
When to choose
- you edit code in Vim or Neovim and frequently restructure one-liners into blocks
- you want a lightweight, language-aware split/join refactoring tool
- you work across many languages and want consistent keybindings
When to avoid
- you use an editor other than Vim or Neovim
- you need full automated code formatting rather than manual split/join transforms
Facets
plugin · maturity stable
editor developer-tools text-editors developer-tools editor-plugin cli vim-plugin text-manipulation refactoring code-formatting splitjoin
5 sources
- readme: https://github.com/AndrewRadev/splitjoin.vim · fetched 2026-08-28 · e6bd4bd577ee
- homepage: http://www.vim.org/scripts/script.php?script_id=3613 · fetched 2026-08-29 · 127a947454ea
- site_page: https://www.vim.org/about.php · fetched 2026-08-29 · 1bd2c1907ce5
- site_page: https://www.vim.org/docs.php · fetched 2026-08-29 · 438015e9e2e2
- site_page: http://www.vim.org/about.php · fetched 2026-08-29 · fbe78bde9535
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| AndrewRadev/splitjoin.vim | main | 61 |
For agents
markdown · JSON · MCP: product_card(name="AndrewRadev/splitjoin.vim")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem