vim-move
splitjoin.vim
vim-move | splitjoin.vim | |
---|---|---|
7 | 18 | |
1,194 | 1,878 | |
- | - | |
3.6 | 7.4 | |
7 months ago | about 2 months ago | |
Vim Script | Vim Script | |
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.
vim-move
- How do you move your lines?
- Is it possible to do something like his on Vim/Neovim?
-
Moving list items up and down?
I like this plugin: https://github.com/matze/vim-move. It can move lines in visual mode and normal mode as well as properly indenting.
-
Small drama: The nicest vim user takes it personal offence when another user shares constructive criticism about vim plugins' language.
Vim is a decades old text editor that has become a tool for power users thanks to Vimscript, a language dedicated to writing Vim plugins (here's a small example, not mine). In the last few years, a project called Neovim has started re-writing Vim and adding support for writing plugins with Lua, which was already popular in game modding like Gmod or TBOI. This has led many users to reconsider the basis of both Vimscript and Lua and others to feel there's an (inexistent) grudge between the two developer teams.
- move.nvim. Move those lines and blocks!
- [Help] How to move lines like in VSCode
-
Plugins alternative in Lua
https://github.com/matze/vim-move (I use this one so much)
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
What are some alternatives?
vim-indent-guides - A Vim plugin for visually displaying indent levels in code
aniseed - Neovim configuration and plugins in Fennel (Lisp compiled to Lua)
dotfiles - Dotfiles for macOS
nvim-revJ.lua - Nvim-plugin for doing the opposite of join-line (J) of arguments written in lua.
symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
vim-startify - :link: The fancy start screen for Vim.
any-jump.vim - Jump to any definition and references ๐ IDE madness without overhead ๐
sideways.vim - A Vim plugin to move function arguments (and other delimited-by-something items) left and right.
vim-schlepp - Vim plugin for easily moving text selections around
nerdcommenter - Vim plugin for intensely nerdy commenting powers [Moved to: https://github.com/preservim/nerdcommenter]
vim-scrolloff-fraction - scrolloff as a fraction of window height
switch.vim - A simple Vim plugin to switch segments of text with predefined replacements