Map jump to beginning and end of function + selecting whole function
This commit is contained in:
parent
7f4c76c321
commit
a83ea0b19f
1 changed files with 5 additions and 3 deletions
|
|
@ -63,9 +63,11 @@
|
|||
(define-key smartparens-mode-map (kbd "C-M-n") 'sp-next-sexp)
|
||||
(define-key smartparens-mode-map (kbd "C-M-p") 'sp-previous-sexp)
|
||||
|
||||
;; TODO: these don't work for some reason
|
||||
(define-key smartparens-mode-map (kbd "C-M-d") 'sp-beginning-of-sexp)
|
||||
(define-key smartparens-mode-map (kbd "C-M-a") 'sp-end-of-sexp)
|
||||
;; TODO: this doesn't work for some reason
|
||||
(define-key smartparens-mode-map (kbd "C-M-a") 'beginning-of-defun)
|
||||
(define-key smartparens-mode-map (kbd "C-M-e") 'end-of-defun)
|
||||
|
||||
(define-key smartparens-mode-map (kbd "C-M-h") 'mark-defun)
|
||||
|
||||
(smartparens-global-mode t)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue