AndrewRadev/splitjoin.vim

Switch between single-line and multiline forms of code

Vim ScriptRubyrefactoringtext-formattingvim-plugintext-manipulation
This is stars and forks stats for /AndrewRadev/splitjoin.vim repository. As of 05 May, 2024 this repository has 1836 stars and 86 forks.

Usage This plugin is meant to simplify a task I've found too common in my workflow: switching between a single-line statement and a multi-line one. It offers the following default keybindings, which can be customized: gS to split a one-liner into multiple lines gJ (with the cursor on the first line of a block) to join a block into a single-line statement. I usually work with ruby and a lot of expressions can be written very concisely on a single line. A good example is the "if" statement: puts "foo"...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
WebClub-NITK/book-directoryEJSJavaScriptCSS0060
npero/InfodocGroovyJavaScript1000
marcuswestin/WebViewJavascriptBridgeObjective-CSwiftHTML14.2k03k0
yanick/cpanvotePerlJavaScriptCSS2010
oracle-livelabs/omlPostScriptHTML00150
buckyos/CYFSRustJavaScriptJava2k02790
kubesphere/websiteSCSSHTMLJavaScript7202590
JustGoodThemes/Scriptor-Jekyll-ThemeSCSSHTMLJavaScript13401560
rugpullindex/ERC4973SolidityJavaScript650170
midudev/chat-hackathonSvelteTypeScriptJavaScript19020