Daniel Choi wrote:
> This is what I type on the command line each time after selecting
> the text:
> 
> <,'>!uni2ascii -eq
> 
> I'd like to shorten this into a keyboard shortcut.

First, bear in mind that if you enter the command once, you can repeat
it later by selecting some text, then typing !u and pressing up arrow to
select the command from history.

However, as a mapping you might enter this command, or put it in your
vimrc:

:vnoremap <F8> !uni2ascii -eq<CR>

After selecting text,  press F8.

John


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to