evnix / codowik

now convert dokuwiki engine into a professional wiki with codowik template
13 stars 16 forks source link

Side Bar Shortcut #9

Closed daven1985 closed 3 years ago

daven1985 commented 7 years ago

Morning,

I just started using Codowik on my dokuwiki and love it. Though one thing bugs me to high heaven... is there a way to disable the Ctrl+Arrow that autohides the side bar. I use that (with shift) to highlight words when typing but this just closes and opens the sidebar, which I am happy to leave always on.

Thanks.

sandebert commented 6 years ago

Did you find where one disable this shortcut? It's driving me crazy.

sandebert commented 6 years ago

I found it, there's an option enableCursorHotkey that needs to be set to false. There might be some more elegant way of doing this, but at this point I'm so frustrated that I don't care.

https://github.com/evnix/codowik/blob/master/js/layout.js#L779