Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion doc/vm-mappings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@ To disable a specific mapping, set it to an empty string:
>
let g:VM_maps["Select Operator"] = ''
<
Additionally, to remap `s` to the same function as `c`:
>
let g:VM_custom_remaps["s"] = 'c'
<
To enable undo/redo (still experimental):
>
let g:VM_maps["Undo"] = 'u'
let g:VM_maps["Redo"] = '<C-r>'

<
Example of SublimeText-like mappings:
>
let g:VM_maps['Find Under'] = '<C-d>'
Expand All @@ -37,6 +41,13 @@ Example of |vim-multiple-cursors| -like mappings:
<
For Colemak users, see |vm-colemak|.

For Neovim users using lua:
>
local VM_maps = vim.g.VM_maps or {}
VM_maps["Select Operator"] = ''
vim.g.VM_maps = VM_maps
<


-------------------------------------------------------------------------------
DEFAULT MAPPINGS *vm-mappings-default*
Expand Down