CamelCaseMotion
vim-textobj-variable-segment
CamelCaseMotion | vim-textobj-variable-segment | |
---|---|---|
11 | 9 | |
569 | 149 | |
- | - | |
0.0 | 0.0 | |
about 4 years ago | almost 2 years 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.
CamelCaseMotion
- Camelcase motion in neovim
-
What kind of short cut key if any do you use for changing text up until next underscore character?
Yup https://github.com/bkad/CamelCaseMotion
- How can I make my CamelCaseMotion plugion work?
-
Can I set 'w' to recognize only english letters?
``` set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() Plugin 'VundleVim/Vundle.vim' Plugin 'https://github.com/kana/vim-smartword.git' Plugin 'https://github.com/bkad/CamelCaseMotion.git' call vundle#end()
- Installing argtextobj.vim
- What extra and useful textobj does vim have?
- Is there a movement that stops when a certain character is encountered?
-
Is there any shortcut to jump among camel case words?
Essentially this searches for the next upper case letter or word boundary in forward (C-Right) or backward (C-Right) direction. The camelcase plugin is also another option.
- Questions: text motion to include capitalised words?
-
Treat camel case as sperate words
I've been using https://github.com/bkad/CamelCaseMotion for ages. I've never had a complaint.
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!
What are some alternatives?
vim-wordmotion - More useful word motions for Vim
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.
textobj-word-column.vim - Adds text-objects for word-based columns in Vim.
targets.vim - Vim plugin that provides additional text objects
argtextobj.vim - Text-object like motion for arguments
nvim-dap - Debug Adapter Protocol client implementation for Neovim
nvim-spider - Use the w, e, b motions like a spider. Move by subwords and skip insignificant punctuation.
switch.vim - A simple Vim plugin to switch segments of text with predefined replacements
tidy.nvim - A small Neovim plugin to remove trailing whitespace and empty lines at end of file on every save
vim-smartword - Vim plugin: Smart motions on words