On Sun, April 3, 2011 1:03 am, carlosvillu wrote: > Hi Tim, > > Thanks for your answer, but is not exactly what I am looking for, > because to used that mapping I need go out from the insert mode to the > normal mode and then used shift-left. What I am really looking for is > will be able used shift-left / shift-rigth without exit from the > insert mode. > > I am used MacVim and when I select text with the pointer in insert > mode I can see that the mode change from --insert-- to -- (insert) > Visual -- and when I finish to select I return other time to insert > mode.
Use insert mode mappings, i.e. for the example Tim gave: :inoremap <s-left> <c-o>v<left> :inoremap <s-right> <c-o>v<right> (For me in Windows gvim, this makes shift left in insert mode start a visual selection. Further presses of shift left move my cursor by words, while a simple left moves by one character at a time. The same is true for right). regards, Christian -- 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
