vim-textobj-variable-segment
vim-wordmotion
vim-textobj-variable-segment | vim-wordmotion | |
---|---|---|
9 | 11 | |
149 | 782 | |
- | - | |
0.0 | 1.8 | |
almost 2 years ago | about 1 year ago | |
Vim Script | 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.
vim-textobj-variable-segment
-
vim-textobj-variable-segment throws an error using lazy.nvim
textobj-variable-segment link
- What kind of short cut key if any do you use for changing text up until next underscore character?
-
CF / DF Movements
I use fuadsaud/vim-textobj-variable-segment and then do "civ"/"div". Useful for camel case as well.
-
What is the coolest, unknown(-ish) plugin that you're using that other people could benefit from?
vim-textobj-variable-segment is useful when editing snake case or camel case words.
-
FAVOURITE PLUGINS
julian/vim-textobj-variable-segment adds v as text object for a section of a variable name, e.g. camelCase, PascalCase, snake_case, kebab-case, etc bold text use to show a section that could be highlighted with viv (whereas vav would also select the hyphen or underscore)
-
Unlucky defaults: ciw, cw, diw, dw?
FYI: There is a plugin which adds text objects for the camelCase and snake_case segments which can be changed with the civ command.
-
Replace word up to _ without changing search
You can also use something like vim-textobj-variable-segment or roll your own
- Possible to learn emacs org mode in 15 - 30 hours?
-
Treat camel case as sperate words
I've tried CamelCaseMotion but after finding out about vim-tesxtobj-variable-segment, I've never looked back!
vim-wordmotion
-
Camelcase motion in neovim
I personally use vim-wordmotion, and I'm pretty happy with it
-
Introducing: nvim-spider – use the w, e, b motions like a spider by considering camelCase and ignoring insignificant punctuation
Question: apart from being in Lua, how does it compare to vim-wordmotion?
-
What kind of short cut key if any do you use for changing text up until next underscore character?
The vim-wordmotion plugin extends the idea of words to include snake case and camel case words among other things. On a related note, the vim-textobj-user plugin lets you extend vim's understanding of text objects.
-
How to make w and b consider only alpha-numeric characters?
I'm personally using vim-wordmotion; not sure if it's what you want, but maybe helps
-
CF / DF Movements
I use https://github.com/chaoren/vim-wordmotion for this.
-
LSP friendly version of vim-wordmotion?
So I use and love this plugin but it screws up how the lsp does renaming.
-
Is there a movement that stops when a certain character is encountered?
You can use vim-wordmotion plugin. If you configure it like below, you will be able to use cid or cad keymaps to change the relevant part of the word.
- Is there any shortcut to jump among camel case words?
- Best "approach" to movement?
- Treat camel case as sperate words
What are some alternatives?
CamelCaseMotion - A vim script to provide CamelCase motion through words (fork of inkarkat's camelcasemotion script)
logseq - A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.
text-case.nvim - An all in one plugin for converting text case in Neovim
targets.vim - Vim plugin that provides additional text objects
change-case - Convert strings between camelCase, PascalCase, Capital Case, snake_case and more
nvim-dap - Debug Adapter Protocol client implementation for Neovim
vim-plug - :hibiscus: Minimalist Vim Plugin Manager
switch.vim - A simple Vim plugin to switch segments of text with predefined replacements
nvim-various-textobjs - Bundle of more than 30 new text objects for Neovim.
tidy.nvim - A small Neovim plugin to remove trailing whitespace and empty lines at end of file on every save
nvim-spider - Use the w, e, b motions like a spider. Move by subwords and skip insignificant punctuation.