edenzik / macvim

Automatically exported from code.google.com/p/macvim
0 stars 0 forks source link

Shift keys for selection #212

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Running the latest snapshot (49) which added the feature to enable
shift+arrow keys for selecting text (e.g. add the following to .vimrc)

if has("gui_macvim")
let macvim_skip_hig_shift_movement = 1
endif

However, shift+arrow only expands the selection if there was already an
existing selection (e.g. made with the mouse).

Also, shift+up and shift+down do not work as expected, still scrolling the
window. Selection does expand but the expected behaviour is to expand
selection by one line above/below at the same character position as cursor.

Original issue reported on code.google.com by dal...@gmail.com on 3 Sep 2009 at 6:34

GoogleCodeExporter commented 9 years ago
There's a typo in the second line.  Try this instead

if has("gui_macvim")
  let macvim_hig_shift_movement = 1
endif

These lines have to go into your .vimrc file or it will not work (i.e. putting 
them in .gvimrc has no effect).

The help file has some more information on this topic, see ":h 
macvim-shift-movement".

Original comment by bjorn.winckler@gmail.com on 3 Sep 2009 at 1:03