haroopad icon indicating copy to clipboard operation
haroopad copied to clipboard

Sublime Keymap

Open ezaca opened this issue 8 years ago • 0 comments

Your editor is amazing! It had become my preferred text editor for notes. I noticed you use CodeMirror as editor, and CodeMirror allows to set key maps.

I would love to change the key map to the Sublime Text style, as seen in the CodeMirror demos.

This option can be added to the View Menu or in the Editor preferences.

Note that not all shortcuts are good for the editor and some of them will conflict. So, I decided to list those I consider the most useful:

Shift+Ctrl+D: duplicate line (will replace "insert date"); Ctrl+D: select next occurrence (will replace "delete line"); Ctrl+Up/Ctrl+Down: scroll one line up/down; F9: sort lines; Shift+Ctrl+V: paste and indent.

These keys can safely replace the current set.

Any chance to add this feature? =)

ezaca avatar Aug 21 '16 05:08 ezaca