Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Visual indentation #10

Open
pedrofernandezm opened this issue Nov 6, 2015 · 4 comments
Open

Visual indentation #10

pedrofernandezm opened this issue Nov 6, 2015 · 4 comments

Comments

@pedrofernandezm
Copy link
Contributor

I want to be able to indent while having an entire line selected.

Shift + v and then tab to indent the entire line.

@EdgarOrtegaRamirez
Copy link
Contributor

@pedrofernandezm maybe I am wrong, but I think you can do it with = after selecting with Shift+ v.

@jcabas thoughts?

@pedrofernandezm
Copy link
Contributor Author

@EdgarOrtegaRamirez if Vim thinks it's already correctly indented, won't indent.

@EdgarOrtegaRamirez
Copy link
Contributor

@pedrofernandezm you can indent manually by using < and >, the thing is that you have to press . to continue indenting the selected lines.

@luiskhernandez
Copy link
Member

if you want to use tab instead of < >, you can map it to

vnoremap <Tab> >
vnoremap <S-Tab> <

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants