 
 # For more detailed documentation see
 # https://atom.io/docs/latest/behind-atom-keymaps-in-depth
-".platform-win32 atom-text-editor[data-grammar='text tex latex']":
+"atom-text-editor[data-grammar~='latex']":
+  '$' : 'latextools:dollar-sign'
+  '`' : 'latextools:backquote'
+  '\'': 'latextools:quote'
+  '"' : 'latextools:double-quote'
+
+"body:not([class~='platform-darwin']) atom-text-editor[data-grammar~='latex']":
   'ctrl-l ctrl-l': 'editor:select-line'
   'ctrl-l c': 'latextools:clear-log'
   'ctrl-l escape': 'latextools:hide-ltconsole'

  'cmd-l u': 'latextools:wrap-in-underline'
  'cmd-l m': 'latextools:wrap-in-monospace'
  'cmd-l .': 'latextools:close-environment'
  '$' : 'latextools:dollar-sign'
  '`' : 'latextools:backquote'
  '\'': 'latextools:quote'
  '"' : 'latextools:double-quote'

  'ctrl-l u': 'latextools:wrap-in-underline'
  'ctrl-l m': 'latextools:wrap-in-monospace'
  'ctrl-l .': 'latextools:close-environment'

"body.platform-darwin atom-text-editor[data-grammar~='latex']":
  'cmd-l cmd-l': 'editor:select-line'
  'cmd-l c': 'latextools:clear-log'
  'cmd-l escape': 'latextools:hide-ltconsole'
