Skip to content
Gabor Szarnyas edited this page Oct 31, 2022 · 12 revisions

Atom Text Editor

  • Remove the thin vertical line: disable the wrap-guide

Features

Spell check

  • Highlighting can hide misspelled word markers:
    • https://github.com/atom/spell-check/issues/81#issuecomment-142948600

    • Add the following to your stylesheet:

      // Spell-check highlight has z-index -1 which makes it disappear under cursor-line
      atom-text-editor::shadow .spell-check-misspelling .region {
        z-index: 0;
      }
      
    • You may need to restart Atom or reload the window through the Developer menu.

Troubleshooting

Hungarian keyboard layout

If you cannot type [ and { because the default key bindings already use them:

  • Install https://atom.io/packages/keyboard-localization package and select HU_hu in package settings

  • Alternatively, edit your keymap:

    1. open your keymap file (keymap.cson) through File, Keymap...
    2. add the following to the end:
    '.workspace .editor':
      'ctrl-alt-f': 'unset!'
      'ctrl-alt-b': 'unset!'
    '.platform-win32, .platform-linux':
       'ctrl-alt-f': 'unset!'

Move the pane to the left

Press Ctrl + Shift + P, Settings, click Open Config Folder and open the config.cson file.

"*":
  [...]
  "tree-view":
    showOnRightSide: false

Configuration on Linux

To make Atom the default text editor instead of Gedit, you have to change the corresponding entry, and also throw out the other editors, such as xed and pluma.

sudo sed -i 's/gedit.desktop/atom.desktop/g' /usr/share/applications/defaults.list 
sudo sed -i 's/xed.desktop;//g' /usr/share/applications/defaults.list 
sudo sed -i 's/;xed.desktop//g' /usr/share/applications/defaults.list 
sudo sed -i 's/pluma.desktop;//g' /usr/share/applications/defaults.list 
sudo sed -i 's/;pluma.desktop//g' /usr/share/applications/defaults.list
Clone this wiki locally