Open heynemann opened 2 years ago
The problem seems to be related to explorer as using nnn#pick it works.
It works now with any <c- key, but not with
I can reproduce the problem. However, I would suggest an alternative (better) way to achieve the behavior you want:
autocmd FileType nnn tnoremap <buffer><silent> <backspace> q
Or place the mapping in ftplugin/nnn.vim
.
A problem though with mapping backspace with q is that, backspace will not work as intended in moments like entering texts in renaming files/new file name etc.
Describe the bug
When adding action to call a function when
<backspace>
is pressed. I get an error:To Reproduce
Add this config on top of nnn.vim:
Expected behavior
Should call my function (and in turn close explorer).
Environment: