On 8/29/07, Yakov Lerner <[EMAIL PROTECTED]> wrote: > On 8/27/07, Mark Waggoner <[EMAIL PROTECTED]> wrote:
> > set tabstop=8,10,4,20,8 > You can make this in vimscript, as "userlevel" plugin. > By remapping the tab in i-mode an using <expr> to expand it to your > function. > Get example of simple plugin, learn vimscript, make plugin, post to > www.vim.org/scripts. Not in general, though. Yes, mapping <Tab> is easy, but the problem is that one has to deal with the case when text is deleted as well. Then, assuming we have <Tab> insert the necessary number of spaces to the next 'tabstop', this would break. nikolai --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
