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

28 lines
935 B
EmacsLisp
Raw Normal View History

;;; packages.el --- Java configuration File for Spacemacs
;;
;; Copyright (c) 2015 Lukasz Klich
;;
;; Author: Lukasz Klich <klich.lukasz@gmail.com>
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
2015-05-20 21:06:46 +00:00
;; Define the buffer local company backend variable
(spacemacs|defvar-company-backends java-mode)
2015-07-06 23:02:28 +00:00
;; 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)))
2015-07-06 23:02:28 +00:00
java/key-binding-prefixes)