capture.vim
vim-textobj-variable-segment
capture.vim | vim-textobj-variable-segment | |
---|---|---|
2 | 9 | |
67 | 149 | |
- | - | |
0.0 | 0.0 | |
5 months 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.
capture.vim
-
How to search in an Ex command output like `:highlight`?
If you prefer a robust plugin for this, capture.vim works pretty well for me. A slightly more sophisticated version of some of the code snippets below.
-
FAVOURITE PLUGINS
tyru/capture.vim
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?
material.nvim - :trident: Material colorscheme for NeoVim written in Lua with built-in support for native LSP, TreeSitter and many more plugins
CamelCaseMotion - A vim script to provide CamelCase motion through words (fork of inkarkat's camelcasemotion script)
telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.
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.
gitsigns.nvim - Git integration for buffers
targets.vim - Vim plugin that provides additional text objects
vim-textobj-entire - Vim plugin: Text objects for entire buffer
nvim-dap - Debug Adapter Protocol client implementation for Neovim
dein.vim - :zap: Dark powered Vim/Neovim plugin manager
switch.vim - A simple Vim plugin to switch segments of text with predefined replacements
vim-addon-local-vimrc - kiss local vimrc with hash protection
tidy.nvim - A small Neovim plugin to remove trailing whitespace and empty lines at end of file on every save