Question: ### Duplicate:

> 
> [How to indent a selection in gvim (win32)?](https://stackoverflow.com/questions/318923/how-to-indent-a-selection-in-gvim-win32)
> 
> 
> [How do I indent multiple lines quickly in vi?](https://stackoverflow.com/questions/235839/how-do-i-indent-multiple-lines-quickly-in-vi)
> 
> 
> 

Using vim under linux I can indent a block of code using the VISUAL mode and pressing ">".
In vim under Windows this does not happen.

This is what happens:

* Press V, the VIM enter in the VISUAL mode
* Press 'Down', the VIM exit for the VISUAL mode. I can't select anything in VISUAL mode.

Alternatively, if I use the SELECT mode for selecting code the ">" does not indent it.

Answer: 
Ok, I got it. In Windows I should press Shift+Down to remain in the VISUAL mode.
If you use V (uppercase) you enter VISUAL LINE mode. For VISUAL mode you should use v (lowercase).

And if you use the standard movement keys (hjkl) everything works fine.

If you dislike the default movement keys, use these mappings:

```
:map <Up> k
:map <Down> j
:map <Left> h
:map <Right> l

```