This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/java/config.el
2016-01-11 21:42:17 -05:00

27 lines
957 B
EmacsLisp

;;; packages.el --- Java configuration File for Spacemacs
;;
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
;;
;; Author: Lukasz Klich <klich.lukasz@gmail.com>
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;; Define the buffer local company backend variable
(spacemacs|defvar-company-backends java-mode)
;; Command prefixes
(setq java/key-binding-prefixes '(("me" . "errors")
("mf" . "find")
("mg" . "goto")
("mr" . "refactor")
("mh" . "documentation")
("mm" . "maven")
("ma" . "ant")
("mp" . "project")
("mt" . "test")))
(mapc (lambda(x) (spacemacs/declare-prefix-for-mode
'java-mode (car x) (cdr x)))
java/key-binding-prefixes)