Eric Leenman wrote:
Hi,
I'm trying to learn new vim habbits by
- not sourcing mswin.vim
- not setting behave mswin.
to migrate easier to linux.
I also start using the old-dos way again by copying, cutting and
pasting with ctrl-insert, shift-delete and shift-insert iso CTRL-C,
CTRL-X, CTRL-V, as these CTRL-keys are not always handeled the same on
a linux distro.
What I now miss is the SELECT-MODE.
Not sure if this is done in mswin.vim and behave mswin.
I used to select a part of a line by pressing shift and one of the
arrow keys.
It then showed SELECT-MODE, and what was selected you could easily cut
and past or copy and paste.
But currently shift-left or right moves to the next or previous word
Shift-up and shift-down moves a file up or down one screen.
Unclear where these mappings are done, are these default vim mappings?
Anyway, how can I map shift-arrow keys as is used in SELECT-MODE?
Or any other suggestion for a smarter way is also very welcome.
Rgds,
Eric
_________________________________________________________________
With tax season right around the corner, make sure to follow these few
simple tips.
http://articles.moneycentral.msn.com/Taxes/PreparationTips/PreparationTips.aspx?icid=HMFebtagline
You can use the "v" key to enter visual mode. Then the normal hjkl
movements to select the text you would like.
shift-v will select by entire line. ctrl-v will enter visual block mode.
You can also select text components like aw - a word, iw - inner word,
as - a sentence, ap - a paragraph.
see :help visual.txt "there is also an entry about 'Select-mode'
which may be more what you want.
Hope this helps.
Kevin