For example, I might accidentally type something like :WQ
and I want it to work like :wq
when a hit enter
Another case is where I am typing a longer command name, for example NERDTreeTabsClose
. (Note that I have the settings ignorecase and smartcase set)
- I might start by typing
:nerd
and then hitting tab, which will auto complete to:NERDTree
- I might then type a little more so that the command mode shows
:NERDTreetab
and then I hit tab again. - Because I have smart case on, the auto complete will not work. The ideal scenario would be for the auto complete to work
I would like to keep smartcase on, because that is useful for searches with /
.
Is there a way to achieve the behaviour have described above