nnoremap might not work depending on what (non-recursive) mappings have been done before it. It doesn't seem to be completely isolated from other mappings.
Consider this:
nnoremap "m" "h"
nnoremap "am" "fh"
Pressing am won't do anything (when fh, decrease column width, is expected). Note that it's not that it's recursive and executing ah either:
nnoremap "m" "h"
nnoremap "ah" "fh"
won't do anything.
However, if am is mapped before m is mapped, it works correctly:
nnoremap "am" "fh"
nnoremap "m" "h"
This is how I expect it to work even when the order of the lines is switched.
Hi!
nnoremap might not work depending on what (non-recursive) mappings have been done before it. It doesn't seem to be completely isolated from other mappings.
Consider this:
Pressing
am
won't do anything (whenfh
, decrease column width, is expected). Note that it's not that it's recursive and executingah
either:won't do anything.
However, if
am
is mapped beforem
is mapped, it works correctly:This is how I expect it to work even when the order of the lines is switched.