splitjoin.vim
switch.vim
Our great sponsors
splitjoin.vim | switch.vim | |
---|---|---|
18 | 6 | |
1,875 | 639 | |
- | - | |
7.4 | 3.6 | |
about 1 month ago | 8 months ago | |
Vim Script | Ruby | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
splitjoin.vim
-
How to implement a custom code modification (LSP vs TreeSitter)
My splitjoin plugin handles your examples, in case you're open to non-LSP, non-treesitter solutions: https://github.com/andrewradev/splitjoin.vim
-
feline.nvim announcements and updates
To avoid the practical issues with master/main, a simple solution is to mirror branches in a github action. I had to fork the action itself to fix an issue, but yeah, it works fine.
-
New Plugin: splitjoin.nvim ๐ช๐งท
Yes, sorry, should have done that the first time I encountered the bug. I rediscovered the bug and I opened a new issue.
-
line split Vim in Vscode
I quite like https://github.com/AndrewRadev/splitjoin.vim . There are defaults for some filetypes and you can add "recipes" for whatever you want.
-
Neovim config from scratch (Part II)
splitjoin to alternate between abbreviated and expansive syntaxes for hashes, arrays, method calls...
-
New Plugin Preview! Treesitter Node Action
To clarify a bit, "a regex approach" doesn't mean s// :). For example, I've got a few mini-parsers for specific cases like rust structs or ruby methods and hashes that handle nesting and more complex structures. Vim's built-in search functions also allow checking the syntax tree, which is how vim-ruby implements a few basic text objects, too. I feel like there's a common misconception that all of Vim is just dumb regex-matching, while regexes are just one of the tools available.
- React one-line props into multiple lines?
-
Here's a question
https://github.com/AndrewRadev/splitjoin.vim I noticed I often format calling a function with a lot of parameters from
-
Running Recursive Macros only on Selection?
For the described use case https://github.com/AndrewRadev/splitjoin.vim
-
Quickly expand code inside {}
I personally use this plugin: https://github.com/AndrewRadev/splitjoin.vim I usually forget I have it installed, but when I remember, it always does what in want in all the languages I use
switch.vim
-
Toggle markdown checkbox
There is also a more general plugin for swtching any statement in any filetype https://github.com/AndrewRadev/switch.vim.
-
New Plugin: boole.nvim โ Toggle booleans, cycle days of the week, etc. with <C-a> and <C-x>
Cool! Seems to fill a similar space as https://github.com/AndrewRadev/switch.vim .
-
What is the coolest, unknown(-ish) plugin that you're using that other people could benefit from?
Switch.vim makes pretty easy to quick switch between definitions of something. I use it a lot to manage a list of to-dos while I'm working and quick switch between "TODO", "DOING" and "DONE"
-
nvim-toggler: invert words with two keystrokes
There is also switch.vim which has been around for a decade and a few other alternatives mentioned in the readme which are even older.
-
FAVOURITE PLUGINS
- https://github.com/andrewradev/switch.vim
-
Alternate Toggler - A very small plugin for toggling "boolean" values.
Works well for the simple usecase it tries to solve. If somebody wants even more customisability with the ability to define much more complex patterns then https://github.com/AndrewRadev/switch.vim is an alternative. It can also cycle through a list instead of just toggling between two values.
What are some alternatives?
aniseed - Neovim configuration and plugins in Fennel (Lisp compiled to Lua)
focus.nvim - Auto-Focusing and Auto-Resizing Splits/Windows for Neovim written in Lua. A full suite of window management enhancements. Vim splits on steroids!
nvim-revJ.lua - Nvim-plugin for doing the opposite of join-line (J) of arguments written in lua.
eyeliner.nvim - ๐ Move faster with unique f/F indicators.
vim-startify - :link: The fancy start screen for Vim.
sideways.vim - A Vim plugin to move function arguments (and other delimited-by-something items) left and right.
no-clown-fiesta.nvim - A dark gray colorscheme
nerdcommenter - Vim plugin for intensely nerdy commenting powers [Moved to: https://github.com/preservim/nerdcommenter]
toggle-bool - vim plugin to toggle the boolean values
rainbow - Rainbow Parentheses Improved, shorter code, no level limit, smooth and fast, powerful configuration.
alternate-toggler - A very small plugin for toggling alternate "boolean" values.