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 -~----------~----~----~----~------~----~------~--~---