splitjoin.vim
dotfiles
Our great sponsors
splitjoin.vim | dotfiles | |
---|---|---|
18 | 4 | |
1,875 | 0 | |
- | - | |
7.4 | 2.8 | |
about 1 month ago | 6 days ago | |
Vim Script | Vim Script | |
MIT License | The Unlicense |
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
dotfiles
-
How to make GTK apps switch themes instantly?
If you're using a WM, you'll have to basically setup userland stuff yourself. My setup is completely automated and I can change the theme of all my applications in an instance using a single keybinding which allows me to choose one of out of hundreds of base 16 themes and then hot reloads all my applications. Obviously, this requires some research and you'll only be able to build this kind of setup making minor changes over a long time period. If you want some inspiration, you can have a look at my dotfiles.
-
Plugins alternative in Lua
The main advantage with Lua is that it makes extending neovim yourself extremely easy instead of relying on plugins written by someone else. Take for example the vim-scrolloff-fraction plugin you mentioned. I was able to figure out how to implement it myself in under 10 minutes after looking up the relevant API functions.
-
Which statusline plugin do you use?
Heres the file that sets my statusline. It shows git changes, current branch and some file location info.
-
sumneko lua lsp says packer's `use` is an undefined global
This might be helpful to you https://github.com/nimainimaii/dotfiles/blob/f7019732607fdf3b1522c0a1a21eecc9a8ed8c09/.config/nvim/lua/nimai/lsp/completion.lua#L47
What are some alternatives?
aniseed - Neovim configuration and plugins in Fennel (Lisp compiled to Lua)
vim-hexokinase - hexokinase.vim - (Neo)Vim plugin for asynchronously displaying the colours in the file (#rrggbb, #rgb, rgb(a)? functions, hsl(a)? functions, web colours, custom patterns)
nvim-revJ.lua - Nvim-plugin for doing the opposite of join-line (J) of arguments written in lua.
lualine.nvim - A blazing fast and easy to configure neovim statusline plugin written in pure lua. [Moved to: https://github.com/nvim-lualine/lualine.nvim]
vim-startify - :link: The fancy start screen for Vim.
symbols-outline.nvim - A tree like view for symbols in Neovim using the Language Server Protocol. Supports all your favourite languages.
sideways.vim - A Vim plugin to move function arguments (and other delimited-by-something items) left and right.
vim-indent-guides - A Vim plugin for visually displaying indent levels in code
nerdcommenter - Vim plugin for intensely nerdy commenting powers [Moved to: https://github.com/preservim/nerdcommenter]
tagbar - Vim plugin that displays tags in a window, ordered by scope
switch.vim - A simple Vim plugin to switch segments of text with predefined replacements
vim-move - Plugin to move lines and selections up and down