Add sailfish-developer layer

Provide bindings to the sailfish-scratchbox emacs package via hotkeys.
This commit is contained in:
Victor Polevoy 2017-12-12 13:49:39 +03:00 committed by duianto
parent 5b7b5f2526
commit 51b04beb26
4 changed files with 63 additions and 0 deletions

View File

@ -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:

View File

@ -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 |

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,24 @@
;;; packages.el --- sailfish-developer layer packages file for Spacemacs.
;;
;; Copyright (c) 2017 Sylvain Benner & Contributors
;;
;; Author: Victor Polevoy <fx@thefx.co>
;; 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))))