added back ess insert assign

This commit is contained in:
ndwarshuis 2018-12-17 16:40:50 -05:00
parent 4e019553f4
commit 30467af1b0
1 changed files with 6 additions and 0 deletions

View File

@ -3335,6 +3335,12 @@ Give =f= to =nd/helm-flyspell-correct= instead of =helm-multi-files= and give th
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(define-key outline-minor-mode-map (kbd "<tab>") 'outline-cycle) (define-key outline-minor-mode-map (kbd "<tab>") 'outline-cycle)
#+END_SRC #+END_SRC
*** ess
They removed the underscore-inserts-arrow feature. Bring it back.
#+BEGIN_SRC emacs-lisp
(define-key ess-r-mode-map "_" #'ess-insert-assign)
(define-key inferior-ess-r-mode-map "_" #'ess-insert-assign)
#+END_SRC
** global ** global
*** function *** function
The function keys are nice because they are almost (not always) free in every mode. Therefore I use these for functions that I need to access anywhere, but not necessary extremely often (because they are out of the way and harder to reach). The function keys are nice because they are almost (not always) free in every mode. Therefore I use these for functions that I need to access anywhere, but not necessary extremely often (because they are out of the way and harder to reach).