Skip to content
Yuta Yamada edited this page Oct 7, 2017 · 1 revision

What is the Emacs' basic keybindings?

You can check the help by pressing Meta (or Alt) + x and then help-with-tutorial. It open a help buffer which you can edit and has some basic Emacs' keybindings.

what is difference between flycheck-nimsuggest and flycheck-nim

The main difference between those two checkers are the source of command. flycheck-nimsuggest' use nimsuggest as the backend and flycheck-nim uses nim check` command. You can configure nim way using flycheck-nimsuggest whereas flycheck-nim may need to configure emacs' variables.

want to remove trailing white spaces?

delete-trailing-whitespace is the way to do.

;; delete whitespaces before you save
(add-hook 'before-save-hook 'delete-trailing-whitespace)

what to visualize trailing whitespace?

(add-hook 'nim-mode-hook 'whitespace-mode)
(add-hook 'nimscript-mode-hook 'whitespace-mode)