0

I would like to swap the editor mode functions of '$' with '^' and 'w' with 'b'

I tried writing aliases in my bash profile like usual but it didn't seem to work.

sam
  • 15
  • 4
  • I swear, this is a bad idea. You'll run into trouble, as soon as you hit the next workstation. Like really, don't mess with vims default bindings. Also this question has been asked before :/ https://stackoverflow.com/questions/24416826/changing-default-key-bindings-in-vim – Aiyion.Prime Mar 04 '20 at 23:27
  • Does this answer your question? [Changing default key bindings in vim](https://stackoverflow.com/questions/24416826/changing-default-key-bindings-in-vim) – Aiyion.Prime Mar 04 '20 at 23:27
  • Thank you, I'll tread forward lightly – sam Mar 04 '20 at 23:34
  • Are these just example bindings you're using to see how one would change bindings or is this like a prank binding you want to do on a friend? Either way, you're going to need a .vimrc (google this) and you'll need to look up how to "remap" (that's the term in vim) the keys. – Stun Brick Mar 05 '20 at 06:36

0 Answers0