nvim: after/plugin/mini: Add a key mapping for removing white space

This commit is contained in:
Sanchayan Maity 2023-06-30 10:00:37 +05:30
parent 96fe9893a1
commit 81508aa84b
Signed by: sanchayanmaity
GPG Key ID: 6F6A0609C12038F3
1 changed files with 3 additions and 0 deletions

View File

@ -80,3 +80,6 @@ remap({ 'n', 'o', 'x' }, 'f', function()
return mini_jump2d.start(single_char)
end, opts)
remap('n', '<Leader>ws', function()
return require('mini.trailspace').trim()
end, opts)