vim-dirvish
vim-dirvish copied to clipboard
[question]: purpose of "forcing normal mode" in filetype normal mode mapping
I just have a simple questiona about what the purpose is of <C-\><C-n> in this normal mode mapping? We're already in normal mode, and by using <nowait> I assume it's also not possible to exit normal mode before the mapping would apply?
https://github.com/justinmk/vim-dirvish/blob/babbf69f7bb5274f0461e04a59d3e059bee27314/ftplugin/dirvish.vim#L38-L39
Thanks!
edit: Oh, I just realized that for versions of vim 703 or older s:nowait is empty, so maybe in those cases it could be possible to leave normal mode.
That might be an oversight. Is it causing an issue?
I've been using vim-dirvish for a couple of years and haven't experienced any issues. I was just curious :)