mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-06 01:21:38 -05:00
Add alternative keybinds for goto/move cell commands
As it seems that some smartrep keybinds does not work properly in MuMaMo-enabled buffer, this change provides some shortcuts for these keybinds. I sent a pull request to smartrep.el regarding this issue: myuhe/smartrep.el#7
This commit is contained in:
parent
6978c29ea2
commit
49fa8629b9
1 changed files with 4 additions and 0 deletions
|
@ -1083,8 +1083,12 @@ Do not use `python-mode'. Use plain mode when MuMaMo is not installed::
|
|||
(define-key map "\C-c\C-m" 'ein:notebook-merge-cell-command)
|
||||
(define-key map "\C-c\C-n" 'ein:notebook-goto-next-input-command)
|
||||
(define-key map "\C-c\C-p" 'ein:notebook-goto-prev-input-command)
|
||||
(define-key map (kbd "C-<up>") 'ein:notebook-goto-prev-input-command)
|
||||
(define-key map (kbd "C-<down>") 'ein:notebook-goto-next-input-command)
|
||||
(define-key map (kbd "C-c <up>") 'ein:notebook-move-cell-up-command)
|
||||
(define-key map (kbd "C-c <down>") 'ein:notebook-move-cell-down-command)
|
||||
(define-key map (kbd "M-<up>") 'ein:notebook-move-cell-up-command)
|
||||
(define-key map (kbd "M-<down>") 'ein:notebook-move-cell-down-command)
|
||||
(define-key map "\C-c\C-f" 'ein:notebook-request-tool-tip-or-help-command)
|
||||
(define-key map "\C-c\C-i" 'ein:notebook-complete-command)
|
||||
(define-key map "\C-c\C-x" 'ein:notebook-view-traceback)
|
||||
|
|
Loading…
Add table
Reference in a new issue