-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
category-computingdocuments related to software administration, tools usage, tips and tricksdocuments related to software administration, tools usage, tips and trickssubcategory-tips and tricksdocuments related to tips and tricks for codedocuments related to tips and tricks for code
Description
https://github.com/roryk/dotfiles/blob/master/spacemacs is my current configuration. It is basically stock spacemacs, with vim/evil mode turned on.
Hilighted changes from stock:
https://github.com/roryk/dotfiles/blob/28c508eb7431d4a8b3b6bed3cf553eb83ac8bb32/spacemacs#L60 this allows you to open up a remote terminal and then open files from it as if you were opening on that remote machine, but on your local emacs session.
R/ESS specific stuff:
https://github.com/roryk/dotfiles/blob/28c508eb7431d4a8b3b6bed3cf553eb83ac8bb32/spacemacs#L368 this line makes it so ESS stops indenting single # comments.
In your .emacs.d/private/polymode directory, add this to be able to edit RMarkdown documents and have proper syntax hlighting in code blocks:
;;; packages.el --- polymode layer packages file for Spacemacs.
;;
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
;;
;; Author: Walmes Zeviani & Fernando Mayer
;; URL: https://github.com/syl20bnr/spacemacs
;;; Code:
(defconst polymode-packages
'(polymode))
(defun polymode/init-polymode ()
(use-package polymode
:mode (("\\.Rmd" . Rmd-mode))
:init
(progn
(defun Rmd-mode ()
"ESS Markdown mode for Rmd files"
(interactive)
(require 'poly-R)
(require 'poly-markdown)
(R-mode)
(poly-markdown+r-mode))
))
)
;;; packages.el ends here
Metadata
Metadata
Assignees
Labels
category-computingdocuments related to software administration, tools usage, tips and tricksdocuments related to software administration, tools usage, tips and trickssubcategory-tips and tricksdocuments related to tips and tricks for codedocuments related to tips and tricks for code