thomasjo / atom-latex

Compile LaTeX or knitr documents from within Atom
https://atom.io/packages/latex
MIT License
223 stars 42 forks source link

Feature Request: Keyboard shortcut for "Toggle Log" #426

Closed Nerdnussbutter closed 7 years ago

Nerdnussbutter commented 7 years ago

Thanks for this great extension! It is my favorite extension by far.

However, I would like to toggle the log panel with a keyboard shortcut. Since recently, there have been circular arrow buttons (.atom-dock-toggle-button) that allowed me to toggle the panel, but I deactivated them because they are annoyingly close to the scroll bars. Hence the only way to close the panel is the "X" button at the far right, which is hard to reach on a 21:9 monitor.

Thank you for your effort. Best regards, Jonas

thomasjo commented 7 years ago

Thanks for the suggestion, but we are not going to add any more default keyboard shortcuts at this point.

You can however easily configure this on your machine by adding something like the following to your ~/.atom/keymap.cson file

'atom-workspace':
  'alt-l': 'latex:toggle-log'

For further details on customizing keybindings, see the following

  1. http://flight-manual.atom.io/using-atom/sections/basic-customization/#customizing-keybindings
  2. http://flight-manual.atom.io/behind-atom/sections/keymaps-in-depth/
Nerdnussbutter commented 7 years ago

Thank you, that was very helpful!