nixvim icon indicating copy to clipboard operation
nixvim copied to clipboard

[PLUGIN REQUEST] vim-visual-multi

Open DontEatOreo opened this issue 1 year ago • 0 comments

Field Description
Plugin vim-visual-multi
Homepage https://github.com/mg979/vim-visual-multi/
Nixpkgs https://github.com/NixOS/nixpkgs/blob/7f114dae532fbba5ae881311097f343ffee740bd/pkgs/applications/editors/vim/plugins/generated.nix#L16752

Extra Information

It allows you to select words with Ctrl+N (by default) same was as VSCode Ctrl+d

The plugin is super useful for doing text/word replacements in a file quickly

NixVim options should be, being able to customize the keybinds for:

let g:VM_maps["Exit"]               = '<C-C>'   " quit VM
let g:VM_maps['Find Under']         = '<C-d>'   " replace C-n
let g:VM_maps['Find Subword Under'] = '<C-d>'   " replace visual C-n
let g:VM_maps["Add Cursor Down"]    = '<M-j>'   " new cursor down
let g:VM_maps["Add Cursor Up"]      = '<M-k>'   " new cursor up
let g:VM_maps["Toggle Mappings"]    = '<CR>'    " toggle VM buffer mappings

DontEatOreo avatar Sep 12 '24 19:09 DontEatOreo