virt-column.nvim
vim-textobj-variable-segment
virt-column.nvim | vim-textobj-variable-segment | |
---|---|---|
6 | 9 | |
204 | 149 | |
- | - | |
5.1 | 0.0 | |
6 months ago | almost 2 years ago | |
Lua | Vim Script | |
MIT License | 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.
virt-column.nvim
- Transparent ColorColumns
-
Is it possible to have the cursorline only up to max(cursorcolumn, line_length)?
local set_local_colorcolumn = function(c) vim.api.nvim_set_option_value("colorcolumn", c, { scope = "local" }) end local vc_status, vc = pcall(require, "virt-column") if vc_status then -- Disable the default colorcolumn and use virtcolumn, so that we get a -- cursorline background under the colorcolumn. -- https://github.com/lukas-reineke/virt-column.nvim/issues/26 set_local_colorcolumn("") vc.setup({ virtcolumn = col }) vim.api.nvim_cmd({ cmd = "VirtColumnRefresh" }, {}) else set_local_colorcolumn(col) end
-
Is there a visual margin plugin for neovim?
And if you want a thin line instead of the default colorcolumn, have a look at https://github.com/lukas-reineke/virt-column.nvim
-
FAVOURITE PLUGINS
virt-column.nvim: displays a character as the colorcolumn, neovim colorcolumn is too thick because it just colors the column bg and it's very distracting, this is more minimal and doesn't get in the way
-
virtual text colorcolumn
I've opened an issue: https://github.com/lukas-reineke/virt-column.nvim/issues/2
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?
focus.nvim - Auto-Focusing and Auto-Resizing Splits/Windows for Neovim written in Lua. A full suite of window management enhancements. Vim splits on steroids!
CamelCaseMotion - A vim script to provide CamelCase motion through words (fork of inkarkat's camelcasemotion script)
nvim-treesitter-context - Show code context
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.
vim-test - Run your tests at the speed of thought
targets.vim - Vim plugin that provides additional text objects
format.nvim - A wrapper around Neovims native LSP formatting. [Moved to: https://github.com/lukas-reineke/lsp-format.nvim]
nvim-dap - Debug Adapter Protocol client implementation for Neovim
headlines.nvim - This plugin adds horizontal highlights for text filetypes, like markdown, orgmode, and neorg.
switch.vim - A simple Vim plugin to switch segments of text with predefined replacements
feline.nvim - A minimal, stylish and customizable statusline for Neovim written in Lua
tidy.nvim - A small Neovim plugin to remove trailing whitespace and empty lines at end of file on every save