diff --git a/CHANGELOG.develop b/CHANGELOG.develop index 5aac6e987..c1d71bb7f 100644 --- a/CHANGELOG.develop +++ b/CHANGELOG.develop @@ -341,6 +341,7 @@ sane way, here is the complete list of changed key bindings - pass (thanks to Andrew Oppenlander, Kepi, Kalle Lindqvist, and Evan Klitzke) - phoenix (thanks to Lyuben Petrov) - prettier (thanks to Seong Yong-ju) +- sailfish-developer (thanks to Victor Polevoy) - sphinx (thanks to Wei-Wei Guo) - tern (thanks to Sylvain Benner and Juuso Valkeejärvi) - transmission (thanks to Eugene Yaremenko) @@ -2232,6 +2233,13 @@ Other: - Added ~SPC m c v~ to run "cargo check" command (thanks to Victor Polevoy) - Added rust lsp completion with company and bindings (thanks to Justin) - Added debugger integration via =dap= layer +**** Sailfish-Developer +- Key bindings: + - Added =sailfish-scratchbox= key bindings (thanks to Victor Polevoy): + - ~SPC c s~ Show menu + - ~SPC c s b~ Invoke mb2 build + - ~SPC c s d~ Copy rpms to the phone + - ~SPC c s i~ Install rpms into target **** Scala - Move =ensime= to the =java= layer (Tor Hedin Bronner) - Key bindings: diff --git a/layers/+tools/sailfish-developer/README.org b/layers/+tools/sailfish-developer/README.org new file mode 100644 index 000000000..b47ce130c --- /dev/null +++ b/layers/+tools/sailfish-developer/README.org @@ -0,0 +1,31 @@ +#+TITLE: Sailfish OS developer layer + +[[file:img/logo.png]] + +* Table of Contents :TOC_4_gh:noexport: +- [[#description][Description]] + - [[#features][Features:]] +- [[#install][Install]] +- [[#key-bindings][Key bindings]] + - [[#sailfish-scratchbox][sailfish-scratchbox]] + +* Description +This layer adds support of sailfish-os development packages. + +** Features: +- [[https://github.com/vityafx/sailfish-scratchbox.el][sailfish-scratchbox]]: handy sb2 interaction. + +* Install +To use this configuration layer, add it to your =~/.spacemacs=. You will need to +add =sailfish-developer= to the existing =dotspacemacs-configuration-layers= list in this +file. + +* Key bindings +** sailfish-scratchbox + +| Key binding | Description | +|-------------+--------------------------| +| ~SPC c s~ | Show menu | +| ~SPC c s b~ | Invoke mb2 build | +| ~SPC c s d~ | Copy rpms to the phone | +| ~SPC c s i~ | Install rpms into target | diff --git a/layers/+tools/sailfish-developer/img/logo.png b/layers/+tools/sailfish-developer/img/logo.png new file mode 100644 index 000000000..f869470eb Binary files /dev/null and b/layers/+tools/sailfish-developer/img/logo.png differ diff --git a/layers/+tools/sailfish-developer/packages.el b/layers/+tools/sailfish-developer/packages.el new file mode 100644 index 000000000..ed50ec641 --- /dev/null +++ b/layers/+tools/sailfish-developer/packages.el @@ -0,0 +1,24 @@ +;;; packages.el --- sailfish-developer layer packages file for Spacemacs. +;; +;; Copyright (c) 2017 Sylvain Benner & Contributors +;; +;; Author: Victor Polevoy +;; URL: https://github.com/syl20bnr/spacemacs +;; +;; This file is not part of GNU Emacs. +;; +;;; License: GPLv3 + +(defconst sailfish-developer-packages + '(sailfish-scratchbox)) + +(defun sailfish-developer/init-sailfish-scratchbox () + (use-package sailfish-scratchbox + :defer t + :init + (progn + (spacemacs/declare-prefix "cs" "sailfish os developer menu") + (spacemacs/set-leader-keys + "csb" 'sailfish-scratchbox-mb2-build + "csd" 'sailfish-scratchbox-deploy-rpms + "csi" 'sailfish-scratchbox-install-rpms))))