[oni-smartparens] Add keybind for ‘sp-splice-sexp-killing-backward’
This commit is contained in:
parent
5d59327d8d
commit
90c9ef6270
1 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2021.0715.215509
|
;; Version: 2022.0920.133906
|
||||||
;; Package-Requires: (smartparens)
|
;; Package-Requires: (smartparens)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -31,9 +31,10 @@
|
||||||
|
|
||||||
(require 'smartparens-config)
|
(require 'smartparens-config)
|
||||||
|
|
||||||
(define-key smartparens-mode-map (kbd "C-<right>") 'sp-slurp-hybrid-sexp)
|
|
||||||
(define-key smartparens-mode-map (kbd "C-<left>") 'sp-forward-barf-sexp)
|
(define-key smartparens-mode-map (kbd "C-<left>") 'sp-forward-barf-sexp)
|
||||||
|
(define-key smartparens-mode-map (kbd "C-<right>") 'sp-slurp-hybrid-sexp)
|
||||||
(define-key smartparens-mode-map (kbd "C-M-<right>") 'sp-backward-barf-sexp)
|
(define-key smartparens-mode-map (kbd "C-M-<right>") 'sp-backward-barf-sexp)
|
||||||
|
(define-key smartparens-mode-map (kbd "M-<up>") 'sp-splice-sexp-killing-backward)
|
||||||
|
|
||||||
(provide 'oni-smartparens)
|
(provide 'oni-smartparens)
|
||||||
;;; oni-smartparens.el ends here
|
;;; oni-smartparens.el ends here
|
||||||
|
|
Loading…
Reference in a new issue