verbose map <enter>returns "no mapping found" in regular buffer, although pressing in regular buffer moves the cursor to the beginning of the next line. in neotree bufferverbose map <enter>returns something about . wtf?
● Good questions! This is a common Vim confusion:
<CR> = <Enter> = Enter key
<CR> stands for "Carriage Return" - it's Vim's internal notation for the Enter key. Same thing, different name.
Why "no mapping found" in regular buffer?
Because there is no mapping. The cursor moving to the next line is built-in Vim behavior, not a mapping. :map only shows custom mappings (user/plugin defined), not Vim's hardcoded defaults.
Built-in behaviors like:
jmoves down<CR>goes to beginning of next linewjumps word
...are not mappings. They're native Vim motions.
Why neo-tree shows <CR>?
Neo-tree overrides the Enter key in its buffer with a custom mapping (to open files). That's why :verbose map shows something there - it's a plugin-defined mapping.
:map <CR> -- shows custom mappings for Enter (if any)
:h <CR> -- shows built-in behavior documentation
Use :h {key} to see what a key does natively:\
:h j
:h w
:h <CR>