nvim-libmodal
vim-swap
nvim-libmodal | vim-swap | |
---|---|---|
9 | 6 | |
114 | 287 | |
- | - | |
5.8 | 0.0 | |
about 2 months ago | 8 months ago | |
Lua | Vim Script | |
GNU General Public License v3.0 or later | - |
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.
nvim-libmodal
- How can I create a new mode in vim? My goal is to create a way for vscode users or other text editor users to code in vim with their common keyboard shortcuts (e.g. <C-z> undo, <C-c> copy, <c-v> paste, etc. )
-
Does the Neovim team have any plan to develop "User Custom Modes"
Only one submode can be currently active, yeah. You can enter new submodes from within others but only one will be intractable at a time.
-
[vent] I really hate that most neovim plugins don't provide docs...
Maybe I'm alone in it, but I actually have liked VimDoc so far for detailed documentation, because of its structure and conventions. You can typically just copy-paste a few templates from a register and insert your relevant data as needed. As for right-aligning new variables, there's always :h right-align or just foregoing it altogether. The spacing is for look rather than function.
-
Nvim-minor-mode, Emacs like minor mode keymaps
I'm glad to see more development in the user-mode space! I made nvim-libmodal which has layers that do something similar to this, but it seems this particular type of feature is less popular in the Vim community than in Emacs.
-
Does Neovim have "user modes"?
There are plugins that do this vim-submode nvim-libmodal for example . So it's possible at least to some extent.
- Is there a plugin that allows setting keymap modes?
-
Does a "leader mode" plugin exist?
Thanks! This looks like what I'm looking for, actually. From the issues, I found nvim-libmodal and vim-libmodal, which seem more actively maintained. I'll look into them!
-
Setting up Vim for Academic Writing in LaTeX and Markdown
Worth a look, but it really doesn't do much aside from adding a couple convenience commands and some modes for markdown manipulation and snippet generation.
vim-swap
-
Which vim plugins do not have a lua equivalent yet?
Only one I use that hasn't been mentioned is a standalone vim-swap replacement. The existing ones all need treesitter (that I know of)
-
What is the coolest, unknown(-ish) plugin that you're using that other people could benefit from?
vim-swap provides an easy way to swap delimited items. It also provides textobjects targeting them, so deleting an argument becomes as easy as da,
-
Does the Neovim team have any plan to develop "User Custom Modes"
I use this feature right now, and it simplifies a lot. I use t to open tabmode so I can create or destroy tabs easily. b, which I use more often, opens bufmode so I can switch the buffer in the current window, or delete it while preserving my layout. gs allows me to swap delimited items using hjkl. w is for visually switching between open splits. Etc etc
-
Is there a plugin that provides "di," in neovim?
I recommend machakann/vim-swap. This plugin provides the way to swap function parameters, and text-objects that can be used to select parameters:
-
anyone know an elegant way to swap the orders of two parameters in a function call? foo(bar, baz) becomes foo(baz, bar)
I've been using vim-swap for a while and it's simple enough: when on top of a delimited argument, you can hit g> or g< to swap right or left, respectively.
- iswap.nvim: Interactively swap function arguments, list elements, and more using tree-sitter!
What are some alternatives?
kakoune-user-modes - A collection of handy user modes for kakoune
targets.vim - Vim plugin that provides additional text objects
nvim-neoclip.lua - Clipboard manager neovim plugin with telescope integration
vim-exchange - Easy text exchange operator for Vim
vim-libmodal - A Neo/vim plugin to create modes.
iswap.nvim - Interactively select and swap function arguments, list elements, and much more. Powered by tree-sitter.
vim-submode - Vim plugin: Create your own submodes
nvim-treesitter-textobjects
lualine.nvim - A blazing fast and easy to configure neovim statusline plugin written in pure lua.
telescope-undo.nvim - A telescope extension to view and search your undo tree 🌴
md2vim - Tool for automatically converting markdown to vimdoc format
nvim-tabmode - A rewrite of Iron-E/vim-tabmode using Iron-E/nvim-libmodal