6

How can I map a key to center the screen position after jumping to a mark? Something like:

:map M `<wait_key>zz
MaiaVictor
  • 51,090
  • 44
  • 144
  • 286

1 Answers1

4
:map <expr> M printf('`%c zz',getchar()) 
Keith
  • 924
  • 6
  • 14