Giter Site home page Giter Site logo

.emacs.d's Introduction

これはなに

自分用の Emacs 設定ファイル.

Requirements

最新バージョンのEmacs

$ brew cask install emacs

Cask

$ brew install cask
$ cask install
$ cask update

Snippets

$ cd ~/.emacs.d/snippets
$ ~/.emacs.d/snippets/install-snippets.sh

Migemo

$ brew install cmigemo

for C/C++ mode

$ brew install emacs-clang-complete-async

for C# mode

以下から、.Net Core SDK をインストール。

https://www.microsoft.com/net/learn/get-started/macos#macos

# .Net にパスを通す
$ ln -s /usr/local/share/dotnet/dotnet /usr/local/bin
$ brew install mono
$ brew install omnisharp/omnisharp-roslyn/omnisharp-mono

for js2-mode

terneslint

$ npm install -g tern eslint babel-eslint eslint-plugin-react
# インストールチェック
$ eslint -v
# 設定ファイルのチェック
# ここでこけていると,emacs 側で無言で javascript-eslint が disabled になるので注意
$ eslint --print-config .

EmacsにternをインストールしてjQueryを補完する -- blog.10rane.com

for Clisp on SLIME

$ brew install clisp

for python-mode

Pylint のために ~/.pylintrcを用意する.

[FORMAT]
indent-string=\t

for apples-mode

tmpファイルが作成されるため,apples-modeをインストールしたディレクトリに権限を付加する.

for yatex-mode

MacTeXをインストールし,以下のようなplatex2pdfファイルを用意する.

#!/bin/sh
test -n "$1" || echo "usage: platex2pdf [tex-file]"
test -n "$1" || exit 1 # 引数が無ければ syntax を表示して終了
TEX=$*
DVI=`/usr/bin/basename "$TEX" ".tex"`
THECODE=`nkf -g "$TEX"`
case $THECODE in # nkf が返す文字コードにあわせる
    UTF-8) KANJI="-kanji=utf8";;
    EUC-JP) KANJI="-kanji=euc";;
    Shift-JIS) KANJI="kanji=sjis";;
    ISO-2022-JP) KANJI="-kanji=jis";;
esac
PLATEX="platex"
CLASS=`sed -n '/documentclass/p' $* | sed '/%.*documentclass/d' | sed -n '1p'`
case $CLASS in
    *{u*) PLATEX="uplatex";;
esac
$PLATEX $KANJI $TEX # platex コマンドの発行
dvipdfmx $DVI # dvipdfmx コマンドの発行

モダンな日本語 TeX 環境を整える - Qiita

for text

$ npm install -g textlint

for scala-mode

導入の仕方

sbt で ensime を扱うプラグインを導入する。 以下のような ~/.sbt/0.13/plugins/plugins.sbt を用意する。

addSbtPlugin("org.ensime" % "sbt-ensime" % "1.12.12")

sbt · ENSIME

使い方

.ensime ファイルをプロジェクト毎に作成する必要がある。

sbt コマンドで対話環境に入った後、ensimeConfig によって生成できるようだ。ensimeConfitProject というものもあるが違いがよくわからない。

sbt · ENSIME

for ruby-mode

$ gem install rubocop ruby-lint

[Emacs] flycheck でrubocopとruby-lintを使う - Qiita

$ gem install pry pry-doc method_source

dgutov/robe: Code navigation, documentation lookup and completion for Ruby

for swift-mode

$ git clone https://github.com/terhechte/SourceKittenDaemon
$ cd SourceKittenDaemon
$ make install

for haskell-mode

$ brew install ghc
$ brew install cabal-install
$ cabal update
$ cabal install ghc-mode

https://qiita.com/taiki45/items/0aaccda69aa1606d445c

マウスを使う

MouseTerm

python env

$ pip install virtualenv
$ pip install virtualenvwrapper
$ mkdir ~/.virtualenvs

.zshrc に以下を追記する.

export WORKON_HOME=$HOME/.virtualenvs

さらに,M-x jedi:install-serverを実行する

.emacs.d's People

Contributors

tasuwo avatar

Watchers

 avatar  avatar  avatar

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.