tags:

views:

56

answers:

1

How can one use the lowercase marks as global buffers too?

The marks are a-z, so there's really no need for me to have the lowercase ones reserved for buffer-only marks, since I don't have more than a few marks / buffer.

So I will almost always want to have global marks, but ma is so much easier to type than mA, same goes for 'a vs 'A.

+2  A: 

You can just map them by the look of it. Eg in your vimrc

nnoremap ma mA
nnoremap 'a 'A
nnoremap `a 'A

Although I suspect this approach might trip up plugins that aren't using nnoremap.

michael