/kotlin-mode

Kotlin major mode for Emacs

Primary LanguageEmacs Lisp

Emacs Kotlin Mode

MELPA

In a sense the title says it all, this is an Emacs major mode for editing Kotlin source code – and in the future Gradle build files.

If you are using Emacs 24 or later, use the package management system to install this mode from MELPA (*).

If you are using an earlier version of Emacs, you are probably best advised to upgrade Emacs to a version with package management so you can use package management to install the mode from MELPA.

(*) As at 2016-06-20 this mode is only in MELPA and not in MELPA stable, a release will be made when a version is ready to be declared.

Kotlin REPL key binding

Key Function
C-c C-z Start REPL
C-c C-n Send current line to REPL
C-c C-r Send selected region to REPL
C-c C-c Send current code block to REPL
C-c C-b Send whole buffer to REPL