VimUser is designed to not be updated often by maintainers but to be modified locally. This is to reduce the effort of having to merge Vim.py for user overrides.
See example usage in VimUser.py. You can either handle keys and commands yourself or specify for them to be sent to 10x instead of the Vim script.
Smaller Changes:
Added Vim callback registration behind if __name__ == "__main__" to void multiple registrations when imported by VimUser.py.
Fixed g_HandlingKey typo
Removed g_VimOverrideKeybindings as it doesn't do anything and was confusing.
VimUser is designed to not be updated often by maintainers but to be modified locally. This is to reduce the effort of having to merge Vim.py for user overrides.
See example usage in VimUser.py. You can either handle keys and commands yourself or specify for them to be sent to 10x instead of the Vim script.
Smaller Changes:
if __name__ == "__main__"
to void multiple registrations when imported by VimUser.py.