I have ever thought about this vim command. However , i don't want the vim into the insert-mode permanently since the call to the foo()
It seem that there is not a better way to do this. ; -< So , i think i might have to change the map itself to do so. And , thank you for you answer :-) 2009/10/10 Charles E Campbell Jr <[email protected]>: > > winterTTr wrote: >> I map a vim key like this >> nnoremap <F1> :call foo()<CR> >> >> and , foo() is a function written by myself. >> >> Is there a way to enter the insert-mode after this map is executed , >> without modifying the map-command itself. >> >> i mean , if i can just add some function call in the foo() to do this ? >> > > :help startinsert > > -- that might be what you want. > > Regards, > Chip Campbell > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
