Incoffee-mode
RET
は正常に動作するものにバインドされcoffee-newline-and-indent
ています。
evil-mode
Vimエミュレーションも使用しています。evil-mode
は標準を使用しているため、やnewline-and-indent
などの一部の vim コマンドではインデントが正しくありません。o
O
newline-and-indent
に再バインドする最良の方法は何coffee-newline-and-indent
ですか?
私はまだ ELisp の初心者で、以下の行を試しましたが、うまくいきません。
(add-hook 'coffee-mode-hook
(lambda ()
(setq newline-and-indent '(funcall coffee-newline-and-indent))))