-
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When adding action to call a function when <backspace> is pressed. I get an error:
Error detected while processing function nnn#select_action:
line 6:
E728: Using a Dictionary as a Number
To Reproduce
Add this config on top of nnn.vim:
function! QuitNNN()
execute('normal! q')
endfunction
let g:nnn#action = { '<backspace>': funcref('QuitNNN') }- Open vim
- Press key n
- Press key
- See error
Expected behavior
Should call my function (and in turn close explorer).
Environment:
- OS: macos
- Terminal: iterm2
- Shell: zsh
- Vim version: vim 8
- Plugin manager: vim-plug
- Plugin version: master
- Nnn version: latest on brew
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working