Emacs Keybindings for Pluto 作者: Simone Santoni
Adds Emacs-style keybindings to Julia's Pluto notebook cells. Movement, kill/yank, incremental search, prefix arguments, and cell evaluation — all the muscle memory, right inside Pluto's CodeMirror editors.
1 个用户1 个用户
扩展元数据
屏幕截图
关于此扩展
Emacs Keybindings for Pluto brings Emacs muscle memory to Julia's Pluto notebook editor. Pluto's cells are CodeMirror 6 editors; this add-on layers a modeless Emacs keymap on top of them, so ordinary keys still self-insert and only Emacs chords are intercepted.
An "Emacs" badge appears at the top-right of the page when the add-on is active. Toggle it on or off from the toolbar popup; open Pluto tabs follow immediately.
SUPPORTED BINDINGS
Movement
• C-f / C-b, M-f / M-b — char / word motion
• C-n / C-p, C-a / C-e — line motion, line start / end
• C-v / M-v, M-< / M-> — page and buffer motion
• M-g g — goto line, M-m back to indentation, C-l recenter
Region, kill & yank
• C-Space sets the mark; movement extends the region
• C-w kill, M-w copy, C-k kill-to-end-of-line
• M-d / M-DEL kill word forward / backward
• C-y yank, M-y yank-pop (cycle the kill ring)
• C-x C-x exchange point and mark, C-x h mark whole buffer
Editing & case
• C-o open line, C-j newline, C-t transpose
• M-u / M-l / M-c upcase / downcase / capitalize word
• M-; toggle comment
• C-/ , C-_ , C-x u undo, C-? redo
Search
• C-s / C-r incremental search forward / backward (wraps, smart case)
Prefix arguments
• C-u universal argument, M-<digit> numeric argument
Cell operations
• C-c C-c evaluate the current cell, C-x C-s submit all changed cells
• C-c C-n / C-c C-p focus next / previous cell
• C-c C-a / C-c C-o add a cell below / above
• C-c C-k delete the current cell
NOTES
• Firefox reserves C-n, C-w, C-t (and C-q on Linux); those never reach the page, so use the arrow keys / M-w instead.
• Works with Pluto 1.x and 0.20.x.
• The add-on runs only on Pluto notebooks served from localhost / 127.0.0.1.
• No data is collected and no network requests are made.
Open source (MIT). Source: https://github.com/simoneSantoni/emacs-ks-for-pluto
An "Emacs" badge appears at the top-right of the page when the add-on is active. Toggle it on or off from the toolbar popup; open Pluto tabs follow immediately.
SUPPORTED BINDINGS
Movement
• C-f / C-b, M-f / M-b — char / word motion
• C-n / C-p, C-a / C-e — line motion, line start / end
• C-v / M-v, M-< / M-> — page and buffer motion
• M-g g — goto line, M-m back to indentation, C-l recenter
Region, kill & yank
• C-Space sets the mark; movement extends the region
• C-w kill, M-w copy, C-k kill-to-end-of-line
• M-d / M-DEL kill word forward / backward
• C-y yank, M-y yank-pop (cycle the kill ring)
• C-x C-x exchange point and mark, C-x h mark whole buffer
Editing & case
• C-o open line, C-j newline, C-t transpose
• M-u / M-l / M-c upcase / downcase / capitalize word
• M-; toggle comment
• C-/ , C-_ , C-x u undo, C-? redo
Search
• C-s / C-r incremental search forward / backward (wraps, smart case)
Prefix arguments
• C-u universal argument, M-<digit> numeric argument
Cell operations
• C-c C-c evaluate the current cell, C-x C-s submit all changed cells
• C-c C-n / C-c C-p focus next / previous cell
• C-c C-a / C-c C-o add a cell below / above
• C-c C-k delete the current cell
NOTES
• Firefox reserves C-n, C-w, C-t (and C-q on Linux); those never reach the page, so use the arrow keys / M-w instead.
• Works with Pluto 1.x and 0.20.x.
• The add-on runs only on Pluto notebooks served from localhost / 127.0.0.1.
• No data is collected and no network requests are made.
Open source (MIT). Source: https://github.com/simoneSantoni/emacs-ks-for-pluto
评分 0(1 位用户)
权限与数据
更多信息