Git Product home page Git Product logo

dotemacs's Introduction

My configuration file for Emacs.

General

Enable trashing of files from dired on macOS.

brew install trash

Org

Get more recent org-mode from MELPA like this

emacs -Q -batch -eval "(progn (require 'package) (add-to-list 'package-archives '(\"org\" . \"http://orgmode.org/elpa/\"))  (package-initialize) (package-refresh-contents) (package-install 'org-plus-contrib))"

Org-babel support for Julia is added via ob-julia.el. This uses an external repository:

git clone https://github.com/gjkerns/ob-julia.git ~/lisp/ob-julia

Spellchecking

Spell checking is done using aspell which has to be installed separately. On OS X:

brew install aspell --with-lang-de --with-lang-en

Dictionary

Install and use Webster’s dictionary.

brew install sdcv
mkdir -p ~/.stardict/dic/
wget https://s3.amazonaws.com/jsomers/dictionary.zip
unzip dictionary.zip
cd dictionary
tar jxf stardict-dictd-web1913-2.4.2.tar.bz2
mv stardict-dictd-web1913-2.4.2/* ~/.stardict/dic/

with point on word, do M-x sdcv-search

ESS

ESS is installed as described in the instructions, and not from MELPA!

So, this is:

git clone https://github.com/emacs-ess/ESS.git ~/lisp/ess

Then, checkout appropriate tag, if wanted.

LSP

Install LSP

cd ~/lisp
git clone https://github.com/cquery-project/cquery --single-branch --depth=1
cd cquery
git submodule update --init && ./waf configure build

Generate compile_commands.json

To use with project, run cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 . in source directory.

Synctex

We also need in ~/.latexmkrc:

$pdflatex = 'pdflatex -interaction=nonstopmode -synctex=1 %O %S';
$pdf_previewer = 'open -a skim';
$clean_ext = 'bbl rel %R-blx.bib %R.synctex.gz';

Elpy

pip install jedi flake8 autopep8

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.