inkdropapp / inkdrop-vim

Provides Vim modal control for Inkdrop, blending the best of Vim and Inkdrop
https://www.inkdrop.app/
MIT License
99 stars 9 forks source link

Key binding for toggle preview mode in vim command mode #31

Closed hakonhagland closed 2 years ago

hakonhagland commented 2 years ago

When in vim command mode, CTRL+E does not work to switch to preview mode (it works fine in insert mode). Instead it runs the command "move screen down one line (without moving cursor)". Is there a way to disable this behavior or to set an alternative keybinding for view::toggle-preview when in vim command mode?

craftzdog commented 2 years ago

Yes, you can set keybindings for the insert mode with this selector: .CodeMirror.vim-mode.insert-mode textarea

https://github.com/inkdropapp/inkdrop-vim#key-customizations