move.nvim
vim-unimpaired
Our great sponsors
move.nvim | vim-unimpaired | |
---|---|---|
8 | 52 | |
308 | 3,226 | |
- | - | |
6.0 | 0.0 | |
3 months ago | 7 months ago | |
Lua | Vim Script | |
GNU General Public License v3.0 only | - |
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.
move.nvim
-
Alternative to vim-textmanip plugin? (move selected blocks of text)
there is also move.nvim which also allows you to move a visual block like that: https://github.com/fedepujol/move.nvim
-
mini.move - Move any selection in any direction
The author of move.nvim has inactive his repo (https://github.com/fedepujol/move.nvim) and now this plugin comes, thanks so much <3
-
fedepujol GitHub account (author of move.nvim) deleted?
I've just updated my plugins and noticed that fedepujol/move.nvim was giving me an error.
- Lua plugin to move visual lines
- How do you move your lines?
- Move function/method up or down
-
legendary.nvim has a new concise syntax for per-mode mappings to a single key
I was trying to find a clean, concise way to set up my mappings through legendary.nvim for move.nvim which has separate commands for normal vs. visual mode. I didn't want a separate line for each mode (which before would be needed because different commands would be run based on the mode).
vim-unimpaired
-
Alternative to vim-textmanip plugin? (move selected blocks of text)
I don't think it moves blocks, but I utilize the venerable vim-unimpaired for basic text movement (and for inserting empty lines from normal mode).
-
How to create a line downwards without changing location of cursor?
vim-unimpaired gives a mapping for that for ] (and [ to insert an empty lines above the cursor).
-
what does o and O really do?
I use https://github.com/tpope/vim-unimpaired for this.
-
Install vim plugin (for XML/HTML encode/decode)
Is it possible to install a Vim plugin (like https://github.com/tpope/vim-unimpaired/tree/master)?
-
What do you really use to steer the cursor?
HJKL for movement, then mapped arrow keys to this (requires unimpaired): " Normal mode: indent or move line nmap [e nmap ]e nmap << nmap >> " Visual mode: indent or move selection vmap [egv vmap ]egv vmap >gv
-
LPT: RTFM. I routinely find something useful every time I read not only what I was looking for, but also something adjacent
Just now I was looking at the manual entry for vim-unimpaired, since I couldn't remember the incantation for swapping two lines. (It's ]e and [e for swap forward and swap backward.)
-
How do you manage buffers ?
Switch buffers with :b or the ]b [b bindings from unimpaired.
-
Markdown syntax + conceal on `.md` files
and a nice toggle remap that I found here to edit Markdown without conceal: vim.keymap.set("n", "tc", ":setlocal =&conceallevel ? 'conceallevel=0' : 'conceallevel=2'", { desc = "[T]oggle [C]onceallevel"} )
-
Using preconfigured distro vs rolling your own config
imo there are even few plugin authors who actually understand this well, and certainly no distro author does. Some of the few examples of good "vim philosophy" plugins are vim-sneak and vim-unimpaired.
-
Which vim plugins do not have a lua equivalent yet?
https://github.com/tpope/vim-unimpaired. I still use it a lot and it’s one of the few remaining vimscript plug-ins I have. It is also quite slow to load. It would be fantastic to have a Lua equivalent.
What are some alternatives?
Navigator.nvim - :sparkles: Smoothly navigate between neovim and terminal multiplexer(s) :sparkles:
miryoku - Miryoku is an ergonomic, minimal, orthogonal, and universal keyboard layout.
mini.move - Neovim Lua plugin to move any selection in any direction. Part of 'mini.nvim' library.
nvim-bqf - Better quickfix window in Neovim, polish old quickfix window.
nvim-lspconfig - Quickstart configs for Nvim LSP
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
cinnamon.nvim - Smooth scrolling for ANY movement command 🤯. A Neovim plugin written in Lua!
better-escape.vim - A Vim/Neovim plugin for escaping insert mode without lagging.
syntax-tree-surfer - A plugin for Neovim that helps you surf through your document and move elements around using the nvim-treesitter API.
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
neoterm - Wrapper of some vim/neovim's :terminal functions.
coc-tsserver - Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript