smart-splits.nvim
treesj
smart-splits.nvim | treesj | |
---|---|---|
9 | 11 | |
724 | 864 | |
- | - | |
8.6 | 7.5 | |
8 days ago | 16 days ago | |
Lua | Lua | |
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.
smart-splits.nvim
-
After switching from Linux to macos, the alt keymap is not working
other custom kittens you may have created or installed eg. smart-splits.nvim
-
vim-tmux-navigator is awesome
for neovim it's probably worth pointing out smart-splits.nvim btw which has additional multiplexer support
-
Set it and forget it plugins?
mrjones2014/smart-splits.nvim - nicer window switching/resizing
-
has anyone replicated 'tmux-pain-control' keybinds into vim/nvim?
If the behavior doesn't match or you just want something better then check out https://github.com/mrjones2014/smart-splits.nvim
- how to navigate back if reached the last window on edge?
-
wow: Tmux navigation works out-of-the-box!
The plugin we use for this is: https://github.com/mrjones2014/smart-splits.nvim
-
What's the alternative to simeji/winresizer?
I use https://github.com/mrjones2014/smart-splits.nvim with the following keybindings:
-
How to resize a split based on its position?
If i understood correctly, smart-splits.nvim might do just what you want
-
smart-splits.nvim - smart, directional split resizing and navigation
smart-splits.nvim
treesj
-
Set it and forget it plugins?
Wansmer/treesj and/or CKolkey/ts-node-action - very useful for lua tables and stuff
-
Plugin/method to spread one line onto multiple lines
There are at least these: - mini.splitjoin which works based on Lua patterns without tree-sitter (occasional false positive in parsing arguments, but doesn't require tree-sitter). - Wansmer/treesj which works based on tree-sitter parsing. - CKolkey/ts-node-action - more general tree-sitter actions (also requires tree-sitter parser installed and loaded).
-
Video: 5 Neovim Plugins To Improve Your Productivity
TreeSJ: https://github.com/Wansmer/treesj
-
How to implement a custom code modification (LSP vs TreeSitter)
If you insist on a treesitter solution, there's alternatives like treesj, but I don't know what they can handle exactly.
-
TreeSJ: big update of plugin for split/join
Here are implementation how use “splitjoin.vim” as fallback, if current language no support in TreeSJ: https://github.com/Wansmer/treesj/discussions/19
-
mini.splitjoin - split and join arguments
Mostly for these reasons: - Implementation with tree-sitter requires maintenance of language-specific settings. Either in the form of tree-sitter queries or some other one (like 'Wansmer/treesj') . - It doesn't work inside in buffers without tree-sitter. - It doesn't work inside comments and strings in buffers with tree-sitter. The work in comments is an important one for me (not really sure why, but I find annoying to have to uncomment, split, and then comment again). - It is consistent with how 'mini.ai' implements argument textobject.
-
New Plugin: splitjoin.nvim 🪓🧷
I've been using https://github.com/Wansmer/treesj and haven't really had any problems with it. Were you aware of this plugin and, if so, did you have issues with it?
-
New Plugin Preview! Treesitter Node Action
there is also https://github.com/Wansmer/treesj for those looking for alternatives / inspiration.
-
Introduce TreeSJ: Neovim plugin for splitting/joining blocks of code
Thanks for sharing! Now I opened discussions on repo, you can post it there: https://github.com/Wansmer/treesj/discussions
What are some alternatives?
winshift.nvim - Rearrange your windows with ease.
mini.nvim - Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort
bufferline.nvim - A snazzy bufferline for Neovim
ssr.nvim - Treesitter based structural search and replace plugin for Neovim.
packer.nvim - A use-package inspired plugin manager for Neovim. Uses native packages, supports Luarocks dependencies, written in Lua, allows for expressive config
nvim-trevJ.lua - Nvim-plugin for doing the opposite of join-line (J) of arguments, powered by treesitter
vim-resize - Resizing the screen using arrow keys
spread.nvim - a neovim plugin to spread out inline objects, arrays, parameter lists, etc.
legendary.nvim - 🗺️ A legend for your keymaps, commands, and autocmds, integrates with which-key.nvim, lazy.nvim, and more.
numb.nvim - Peek lines just when you intend
gitsigns.nvim - Git integration for buffers
neoscroll.nvim - Smooth scrolling neovim plugin written in lua