The YankRing plugin does this (as it captures the text yanked / changes made using these keys) by using expressions maps.
You can look at it and how it does it. http://www.vim.org/scripts/script.php?script_id=1234 HTH, David On Thu, Dec 19, 2013 at 6:14 PM, atomm <[email protected]> wrote: > Is the last character that was used with the fF/tT motion command stored > somewhere that is accessible? I see that the last search is stored in the / > register, but could not find the last character that was searched. > > The reason why is that I would like to customize the statusline to display > this character. > > -- > -- > 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 [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
