vim-textobj-comment
vim-textobj-variable-segment
vim-textobj-comment | vim-textobj-variable-segment | |
---|---|---|
5 | 9 | |
131 | 149 | |
- | - | |
0.0 | 0.0 | |
over 2 years ago | almost 2 years ago | |
VimL | 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-comment
-
What are all the accepted "inner" motion arguments?
Just to add to that, there are also various plugins that give you additional text objects, such as: - ii for indent levels (https://github.com/kana/vim-textobj-indent) - iz for folds (https://github.com/kana/vim-textobj-fold) - if for functions (https://github.com/kana/vim-textobj-function) - ic for comments (https://github.com/glts/vim-textobj-comment) - User-defined text objects (https://github.com/kana/vim-textobj-user)
- Installing argtextobj.vim
-
How can I delete / clear a block of comments?
Is it doable without using regex? I also tried to install https://github.com/glts/vim-textobj-comment and Packer can't install it.
-
FAVOURITE PLUGINS
glts/vim-textobj-comment adds c as text object for comment block
-
Selecting Python comment
Not tested, but glts/vim-textobj-comment looks like it does what you want.
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?
argtextobj.vim - Text-object like motion for arguments
CamelCaseMotion - A vim script to provide CamelCase motion through words (fork of inkarkat's camelcasemotion script)
vim-textobj-entire - Vim plugin: Text objects for entire buffer
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.
vimtex - VimTeX: A modern Vim and neovim filetype plugin for LaTeX files.
targets.vim - Vim plugin that provides additional text objects
vim-textobj-user - Vim plugin: Create your own text objects
switch.vim - A simple Vim plugin to switch segments of text with predefined replacements
vim-ultest - The ultimate testing plugin for (Neo)Vim
nvim-dap - Debug Adapter Protocol client implementation for Neovim
tidy.nvim - A small Neovim plugin to remove trailing whitespace and empty lines at end of file on every save