Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vim unmap everything (completely stripped down vim)

Tags:

vim

editor

janus

Love vim. Tried Janus. Like the idea, but it's too slow, 100 plugins competing for keybindings. I want to actually understand what every vim configuration I make does.

Is there a way to "unmap" all vim keys or as much as possible. Remove most commands, etc. The point of this is an exercise for myself. I want a super small subset of maps, settings, bindings, so I can add things one by one as I need them.

Have you seen efforts like this?

like image 780
ulver Avatar asked Jul 07 '11 14:07

ulver


1 Answers

Try to run vim with the following command :

"vim -u NONE"

from man vim

   -u {vimrc}  Use the commands in the file {vimrc}  for  initializations.
               All  the  other  initializations  are skipped.  Use this to
               edit a special kind of files.  It can also be used to  skip
               all  initializations by giving the name "NONE".  See ":help
               initialization" within vim for more details.

It should start vim without any plugin or customisation.

like image 155
Xavier T. Avatar answered Oct 01 '22 10:10

Xavier T.