--
Salman
Salman
On Sun, Jul 14, 2019, 09:18 Christian Brabandt <cblists@256bit.org> wrote:
On Sa, 13 Jul 2019, 陈世用 wrote:
> Like in a terminal buffer, typing:
>
> ```
> $ :vsp demo.file
> ```
>
> `:` is the custom shell function's name.
>
> It's expand to `<c-w>:vsp demo.file` or something.
I think it is unclear, what you are asking exactly. Please clarify.
Best,
Christian
Sound like you want a terminal mapping. I think :help tmap may give you what you want, but if you remap the colon, you'll have trouble if you need to use it in an actual command. You could either map the double colon (::) to do this or to insert an actual single colon:
tmap : <c-w>:
tnoremap :: :
Or, depending on which you prefer, reverse the two mappings.
Salman
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CANuxnEcCesOnUPGDGUsjjRAiQxfnJ7E_JskEzLiXcQrSJyF7DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment