focus.nvim
vim-textobj-user
focus.nvim | vim-textobj-user | |
---|---|---|
10 | 25 | |
648 | 1,424 | |
1.4% | - | |
7.3 | 0.0 | |
11 days ago | about 4 years ago | |
Lua | 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.
focus.nvim
-
What are some plugins that you can't live without?
focus.nvim
-
Neovide Lags. Should I do something in order to prevent it . Or it's just how it is....
For automatic and probably instant split resizing, you could use focus.nvim or something similar. Or just resize using Neovim (keyboard) commands, which probably would also not lag.
-
FAVOURITE PLUGINS
- https://github.com/beauwilliams/focus.nvim
- Do we have any tile window manager for NeoVim? (Written in Lua preferred)
-
Increase left padding when there is only one file opened?
Been searching around, and found zen-mode and focus.nvim but they don't really fix my specific use case. Some even suggested to have the file explorer opened to act as the left padding.
-
PSA: Plugin developers, please notify your users when adding a dependency that creates a breaking change.
I mean... yeah? I write vim plugins, see focus.nvim
-
Focus.nvim has been recently updated to add even more awesome features that make vim splits an absolute joy to work with + heads up on breaking change
For those that haven't heard of focus, a quick TLDR.. if you love using vim splits, you will find focus.nvim makes your life with splits just that little bit better. The core feature of focus is auto-resizing splits, when moving between them the currently focused window will be resized to take up more of the screen. It's even more awesome now thanks to #1 below. Or maybe see some demo gifs here.
-
Focus splits using mouse
Hmm, perhaps this can be an addition to focus.nvim ..maybe add some options and enhancements to make it work better
-
Why use splits?
You can also get auto-resizing splits like in this little thing I wrote focus.nvim
vim-textobj-user
-
vim-textobj-variable-segment throws an error using lazy.nvim
Using lazy, it throws the error 70% of the time. when it doesn't throw the error it works. but It uses a dependency (vim-textobj-user) and I already tested it (only using that plugin without other plugins) is not the dependency's fault.
-
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)
-
How to change between slashes using vim-textobj-user?
Thank you, kind vimmer. For others stumbling upon this issue, having same character around is not supported in textobj-user, but there's a workaround: https://github.com/kana/vim-textobj-user/issues/48.
-
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.
- Installing argtextobj.vim
-
How to detect nearest nested bracket (of any type)
if anyone wants to use this, just make sure to also install https://github.com/kana/vim-textobj-user for it to work
- Are there plugins for Neovim that don't exist, that should exist, in your opinion?
-
Delete word inside parens without deleting paren or comma
I would highly recommend https://github.com/kana/vim-textobj-user. Specifically, you'd want to pair it with https://github.com/sgur/vim-textobj-parameter. Check the readme for other useful custom text objects, personally I think this is one of my most useful set of plugins
-
Leap.nvim: Neovim’s Answer to the Mouse
I NEVER use count, because my mental flow is drastically hindered by pausing for any form of counting in midst of editing; I stay off even relative numbers even. In their place, I enable a vast number of text objects instead, quite a few implemented through the `kana/textobj-user plugin`. Good text object are an embodiment of intent and thus map better mentally than any method using brute counting, even at the loss of some precision and speed.
[kana/textobj-user](https://github.com/kana/vim-textobj-user)
-
Vim text object for path
I would suggest using vim-textobj-user. Someone has already implemented a path object using this plugin. You can find this implementation here.
What are some alternatives?
switch.vim - A simple Vim plugin to switch segments of text with predefined replacements
nvim-treesitter-textobjects
zen-mode.nvim - 🧘 Distraction-free coding for Neovim
wildfire.vim - Smart selection of the closest text object
alacritty - A cross-platform, OpenGL terminal emulator.
vim-indent-object - Vim plugin that defines a new text object representing lines of code at the same indent level. Useful for python/vim scripts, etc.
NeoZoom.lua - A simple usecase of floating window to help you focus.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
virt-column.nvim - Display a character as the colorcolumn
vim-matchup - vim match-up: even better % :facepunch: navigate and highlight matching words :facepunch: modern matchit and matchparen. Supports both vim and neovim + tree-sitter.
Dotfiles - Well documented awesome dotfiles 😍 Many neovim lua configs, handy zsh/bash functions, fzf functions + more
vim-textobj-indent - Vim plugin: Text objects for indented blocks of lines