justinmk / vim-dirvish

Directory viewer for Vim :zap:
Other
1.18k stars 64 forks source link

Bug fix: The key mappings that are <silent> prevent Vim from asking the user to enter the encryption key #235

Closed jamescherti closed 1 year ago

jamescherti commented 1 year ago

Problem: The Dirvish key mappings that are <silent> prevent Vim from asking the user to enter the encryption key when an encrypted file is opened from Dirvish (:help encryption).

Solution: Remove <silent> from the key mappings that call dirvish#open() and replace :call with <cmd>call.

justinmk commented 1 year ago

Thanks!