Browse Source

initial config for ESS / R, probably buggy

master
Marc Pohling 6 years ago
parent
commit
8b5ec9a1a0
1 changed files with 34 additions and 1 deletions
  1. 35
      config.org

35
config.org

@ -863,7 +863,9 @@ Org overwrites RET and C-j, so I need to disable the rebinds
("t" "todo" entry (file+headline ,(concat PATH_ORG_FILES "tasks.org") "Tasks") ("t" "todo" entry (file+headline ,(concat PATH_ORG_FILES "tasks.org") "Tasks")
"* TODO %^{Title}\n %u\n %?\n") "* TODO %^{Title}\n %u\n %?\n")
("c" "coding todo" entry (file+headline ,(concat PATH_ORG_FILES "tasks.org") "Tasks") ("c" "coding todo" entry (file+headline ,(concat PATH_ORG_FILES "tasks.org") "Tasks")
"* TODO %^{Title}\n %u %a\n %?\n"))))
"* TODO %^{Title}\n %u %a\n %?\n")
("p" "project" entry (file+headline ,(concat PATH_ORG_FILES "tasks.org") "Projects")
"* TODO %^{Title} %^g\n %u\n %?\n"))))
("work_remote" ("work_remote"
(setq org-capture-templates (setq org-capture-templates
'(("t" "todo" entry (file (concat PATH_ORG_FILES "todo.org")) '(("t" "todo" entry (file (concat PATH_ORG_FILES "todo.org"))
@ -1459,6 +1461,37 @@ Add some helpers to handle and understand macros
(define-key emacs-lisp-mode-map (kbd "C-c c") 'macrostep-collapse)) (define-key emacs-lisp-mode-map (kbd "C-c c") 'macrostep-collapse))
#+END_SRC #+END_SRC
** R
TODO: test it
#+BEGIN_SRC emacs-lisp
(use-package ess-site
:ensure ess
:defer t
:mode (("\\.R\\'" . r-mode))
:init (require 'ess-site)
:config
(use-package ess-R-data-view :ensure t)
(use-package ess-smart-equals :ensure t)
(use-package ess-smart-underscore :ensure t)
(use-package ess-view :ensure t)
(setq ess-use-flymake nil
ess-use-ido nil ;;else ESS will use ido whenever possible
ess-eval-visibly 'nowait
ess-ask-for-ess-directory nil
ess-local-process-name "R"
ess-use-tracebug t
ess-describe-at-point-method 'tooltip) ; 'tooltip or nil (buffer)
)
#+END_SRC
** Lua
#+BEGIN_SRC emacs-lisp
(use-package lua-mode
:defer t
:ensure t
:mode "\\.lua\\'"
:config
(setq lua-indent-level 2))
#+END_SRC
** Python ** Python
*** Intro *** Intro
Systemwide following packages need to be installed: Systemwide following packages need to be installed:

Loading…
Cancel
Save