Skip to content

lexmsl1/emacs-minimal

Repository files navigation

To clone

git clone https://github.com/av-maslov/emacs-minimal.git ~/.emacs.d
git clone https://github.com/av-maslov/emacs-yasnippets.git ~/.emacs.d/plugins-yasnippet-snippets

Install ESS and Julia mode for it (CentOS)

wget https://ess.r-project.org/downloads/ess/ess-18.10.2.tgz
mkdir ESS
tar xzvf ess-18.10.2.tgz -C ESS/
rm ess-18.10.2.tgz
rm -r ESS/ess-18.10.2

or

git clone https://github.com/emacs-ess/ESS.git ~/ESS
git clone https://github.com/JuliaEditorSupport/julia-emacs.git ~/.emacs.d/plugins/

add

(add-to-list 'load-path "~/ESS/lisp")
(load "~/ESS/lisp/ess-site")

Errors

  • Mac: error: Invalid face, linum, caused by colors.el: ..linum, darkgrey theme?

For ESS-mode

For brackets auto-closed M-x electric-pair-mode NOT M-x paredit-mode which adds extra space

Install Fira Code font

Windows:

choco install firacode

For YA Snippet use

Shift TAB

see init.el

Some custom key-bindings

C-c S : easy motion 
C-l   : go to line
C RET : New line without breaking the current line
C TAB : other window 

Packages requiring installation from MELPA

M-x package-list-pcakages

or

M-x package-install

Packages requiring compilation

M-x byte-compile rainbow-delimiters.el 

Emacs minimal settings

Preinstalled packages: