From 9ec9e357b2fb682730bc3baaf8659125924da503 Mon Sep 17 00:00:00 2001 From: hophacker Date: Sat, 19 Sep 2020 21:40:27 +0800 Subject: [PATCH] add vmap to format selected json text --- SpaceVim.d/autoload/settings/yadr-keymap.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SpaceVim.d/autoload/settings/yadr-keymap.vim b/SpaceVim.d/autoload/settings/yadr-keymap.vim index b91ff3e..485da58 100644 --- a/SpaceVim.d/autoload/settings/yadr-keymap.vim +++ b/SpaceVim.d/autoload/settings/yadr-keymap.vim @@ -317,3 +317,5 @@ endfunction " set paste nnoremap tp :call TogglePaste() nnoremap tt :call ToggleRspecTest() + +vmap js :!python -m json.tool