I'm trying to create a .virc or .vimrc file for mapping keys but it doesn't work.
If I set them by hand inside vi, then it works, e.g.:
but if (below) is in the .virc or .vimrc file it doesn't have any effect.
This happens with either /usr/bin/vi or /usr/local/bin/vim running 8.2-RELEASE-p2.
If I set them by hand inside vi, then it works, e.g.:
Code:
:map! xI <i> </i>
but if (below) is in the .virc or .vimrc file it doesn't have any effect.
Code:
map! xI <i> </i>
This happens with either /usr/bin/vi or /usr/local/bin/vim running 8.2-RELEASE-p2.