scala emacs

Scala开发的Emacs配置
本文介绍了用于Scala开发的Emacs配置,包括使用MELPA下载包、特定的键绑定设置等。适用于OSX版Emacs 24.4,也可轻松适配其他组合。还说明了安装额外包、启动模式、加快启动速度等操作方法。

https://github.com/michaelpnash/emacs-for-scala

emacs-for-scala

My Emacs setup for Scala development, including a fully-configured Ensime.

![What does it look like?] (./emacs2.png)

This latest version uses MELPA to download packages instead of installing them directly, and excludes a bunch of packages I've experimented with, but that didn't find their way into my day-to-day workflow.

Intended for use with Emacs for OSX version 24.4 (but likely adapted for other combinations easily enough)

To install additional packages not included by default on startup:

Use M-x package-list-packages Select the package you want and select "install"

Or edit the .emacs.d/init.el file to taste.

The first time you run load Emacs, it will download the internet. No, it will only feel that way - it will download all package you don't already have installed from MELPA and install them: this only happens the first time.

The .emacs.d contained in this repo has a specific set of keybindings set up for Emacs. Mostly these are the defaults from whatever included modules have been used, but in a few cases they've been customized to play well together.

Please see here for a series of articles describing the Emacs config I've published here.

By default, the "emacs" launch script here is set up to launch Emacs in GUI mode, using the Emacs for OSX, and not to use client-server mode. If you want to use character-mode, add the param "-nw" to the startup script. This is useful if you want to use Emacs on a remote system, or to use it with Tmux or Screen.

For faster startup of Emacs, you can do two things: Compile the elisp, or use Emacs in client-server mode.

For client-server mode, put the scripts 'emacsserver' and 'emacsclient' found in this repo in your path (before any other emacs), and then run "emacs ." - if the server is not running, it will start it, then subsequent launches of emacs will be very quick.

The scripts are intended for OSX, but again could easily be adapted.

 

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值