inkdropapp / inkdrop-vim

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

pipe binding instead of zero #5

Closed gregwebs closed 4 years ago

gregwebs commented 6 years ago

I don't understand why this is different then my normal vi keys, but I think it will be useful to at least have this issue to document how to change it.

➜  cat ~/.config/inkdrop/keymap.cson
{
  ".CodeMirror.vim-mode:not(.insert-mode):not(.key-buffering) textarea": {
      "0": "vim-mode:move-to-beginning-of-line"
  }
}
craftzdog commented 6 years ago

I believe that "0" in normal mode has a conflict with other keymap, so I dropped it. But I will look into it. Here is the documentation about how to customize keymaps. Since there are too many things to document for customization, basically please ask me if you don't understand how to change them.