Juniper Belmont
Juniper Belmont

Reputation: 3564

How do I map from Shift-Tab to Control-I in vim?

I want to use ShiftTab to do the opposite of Tab so that I can move forward and backward in the jump list.

I cannot just map <Shift>^I to ^O.

Upvotes: 0

Views: 285

Answers (1)

Juniper Belmont
Juniper Belmont

Reputation: 3564

The correct mapping is:

:nnoremap <S-Tab> <c-o>

Upvotes: 1

Related Questions