Hi,
On Fri, Nov 13, 2020 at 7:44 AM Shane-XB-Qian <[email protected]>
wrote:
> and i was thinking it can reduce the mode switch which can reduce that
> annoyed esc code output, but looks it's not helpful much..
> e.g map l <cmd>call system('ls')<cr> and map h :call system('ls')<cr>
> looks it still mode switched.. :)
> and another amazing is when pressed l, this would print output into
> buffer directly -vs- h print output into cmdline.
>
>
>
I am not able to reproduce this on MacOS or MS-Windows. With the above
map, when I press l or h, it doesn't output the directory listing and the
buffer contents
are not changed. BTW, in your example, the second map is not using the
<Cmd> key.
Regards,
Yegappan
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/CAAW7x7mZVWMjP3c4vG_8wjYoVLoZ-f8j%3DXicGmdjeeK2GUnfCA%40mail.gmail.com.