ukdor / orgfld

Implement heading folding based on * instead of #
3 stars 1 forks source link

ctrl-alt-[ does not work with German keyboard #7

Open haimivan opened 6 years ago

haimivan commented 6 years ago

Hi,

I use

I would like to (un)fold the present line with a single keystroke. Unfortunately, ctrl-alt-[ does not work. This is probably due to fact that [ can only be reached via the AltGr key.

How can I reassign the fold a line keystroke?

Thanks in advance!

ukdor commented 5 years ago

Take a look at the Atom reference page for customizing keybindings

You could manipulate the keymaps in the orgfld.cson file within the package directory orgfld\keymaps

Current keymaps:

Windows keymaps when using GitHub Markdown grammar (GFM)

'atom-workspace atom-text-editor[data-grammar="source gfm"]:not([mini])': 'ctrl-alt-1': 'orgfld:fold-at-heading-level-1' 'ctrl-alt-2': 'orgfld:fold-at-heading-level-2' 'ctrl-alt-3': 'orgfld:fold-at-heading-level-3' 'ctrl-alt-4': 'orgfld:fold-at-heading-level-4' 'ctrl-alt-5': 'orgfld:fold-at-heading-level-5' 'ctrl-alt-6': 'orgfld:fold-at-heading-level-6' 'ctrl-alt-0': 'orgfld:unfold-all' 'ctrl-alt-[': 'orgfld:fold-current-row'

Windows keymaps when using Org-mode Syntax grammar (org-mode)

'atom-workspace atom-text-editor[data-grammar="source org-mode"]:not([mini])': 'ctrl-alt-1': 'orgfld:fold-at-heading-level-1' 'ctrl-alt-2': 'orgfld:fold-at-heading-level-2' 'ctrl-alt-3': 'orgfld:fold-at-heading-level-3' 'ctrl-alt-4': 'orgfld:fold-at-heading-level-4' 'ctrl-alt-5': 'orgfld:fold-at-heading-level-5' 'ctrl-alt-6': 'orgfld:fold-at-heading-level-6' 'ctrl-alt-0': 'orgfld:unfold-all' 'ctrl-alt-[': 'orgfld:fold-current-row'`