sideways.vim
vim-repeat
sideways.vim | vim-repeat | |
---|---|---|
13 | 27 | |
483 | 2,550 | |
- | - | |
5.5 | 0.0 | |
6 months ago | 9 months ago | |
Ruby | Vim Script | |
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.
sideways.vim
-
"vi," to select text between comma
There's a number of plugins for an "argument" text object (mine is sideways), but if you're just looking for a simple "change between commas", here's a great SO answer that explains how to create a mapping like that for yourself in two lines: https://stackoverflow.com/a/44109750/853920
-
mini.basics - Common configuration presets for options/mappings/autocommands
sideways.vim: move arguments left and right (I know this is nowadays done with tree sitter, but there isn't a ts grammar for everything so far)
-
Swapping words
Yeah, I use sideways.vim and vim-exchange. (Not entirely sure which solves what OP is asking about.)
- what is your startup time?
-
Swap any 2 comma separated selected WORDS
I use vim-sideways for this. If vim-swap doesn't work out, give it a shot!
- Features I miss from Jetbrains IDEs
-
How to insert text before end of a quote/brackets?
For the second case Sideways has SidewaysArgumentAppendLast. I mapped it to A (shouldn't conflict with other mappings).
-
How can I do delete in commas, change inside periods? Basically treating periods and commas like quotation, etc.
For argument lists, check out sideways.vim which is smart enough to shift arguments around instead of only selecting them.
-
How can i swap words ?
But there's also another "classic" plugin just for this use case: https://github.com/AndrewRadev/sideways.vim I've never used it though, so can't comment on its use, but it looks pretty good.
-
anyone know an elegant way to swap the orders of two parameters in a function call? foo(bar, baz) becomes foo(baz, bar)
Also not a native solution, but I've been using sideways.vim for a while. I have space as my leader and use leader-L and leader-R.
vim-repeat
-
Repeat LSP rename
which requires vim-repeat to be installed but otherwise silently does nothing extra.
-
is it possible to repeat a deletion of the type dt?
Do you have vim-repeat? I think sneak should work with that.
- Neovim version of tpope/vim-repeat
-
markdowny.nvim
e.g. in vim-surround you could just do something like ysiw_ to make a word italics or ysiw*w. (assuming you also have vim-repeat).
-
How to register a lua function with vim-repeat?
vim.keymap.set("n", "dj",require"dap".step_over). However, I have not had any luck with registering this with vim-repeat. I have tried following the solution here, but nothing seems to happen. Also, the README in the vim-repeat repo only gives an example of use with a mapping, which is not my case. I don't think this is specific to nvim-dap in particular, so has anyone been able to add dot repeat functionality to any lua function?
- what is your startup time?
-
Neovim: Plugins to get started
Github: tpope/vim-repeat
-
Adding Dot-Repeat to Plugins
Hi all, I just wanted to share a short gist I wrote for plugin authors on how they can incorporate dot-repeat functionality directly into their plugins, without external dependencies like vim-repeat. In general, I'm open to any suggestions about writing style or content; I just wanted to share some things that I wish I knew when I started writing nvim-surround. Cheers!
- Whenever I'm looking for plugins these days [OC]
-
what vimL plugins are you still using?
vim-repeat: More power to the dot.
What are some alternatives?
argtextobj.vim - Text-object like motion for arguments
kok.nvim - Fast as FUCK nvim completion. SQLite, concurrent scheduler, hundreds of hours of optimization.
nvim-revJ.lua - Nvim-plugin for doing the opposite of join-line (J) of arguments written in lua.
quick-scope - Lightning fast left-right movement in Vim
VSCode-Hungry-Delete - To delete an entire block of whitespace or tab, and reduce the time programmers need to press backspace
vim-sandwich - Set of operators and textobjects to search/select/edit sandwiched texts.
vim-argumentative - Argumentative aids with manipulating and moving between function arguments.
wilder.nvim - A more adventurous wildmenu
switch.vim - A simple Vim plugin to switch segments of text with predefined replacements
replacer.nvim - A powerful refactoring tool for nvim.
splitjoin.vim - Switch between single-line and multiline forms of code
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease