Skip to content

Commit

Permalink
feat: configuration recipes
Browse files Browse the repository at this point in the history
  • Loading branch information
alpha2phi committed Jul 22, 2023
1 parent c3d40c5 commit 53c610d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lua/base/editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ return {
event = "VeryLazy",
opts = {
left = {
{ ft = "hydra_hint", title = "Hydra", size = { height = 0.5 }, pinned = false },
{ ft = "hydra_hint", title = "Hydra", size = { height = 0.5 }, pinned = true },
},
},
},
Expand Down
30 changes: 26 additions & 4 deletions lua/pde/jupyter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,32 @@ local function repl_menu()
local cmd = require("hydra.keymap-util").cmd

local hint = [[
^^ _a_: Insert Cell After ^ _b_: Insert Cell Before ^ _e_: Execute Cell ^ _j_: Next Cell ^ _k_: Previous Cell ^ _m_: Insert Markdown Cell ^ _x_: Delete Cell
^^ _s_: Send Motion ^ _l_: Send Line ^ _t_: Send Until Cursor ^ _f_: Send File _R_: Show REPL ^ _C_: Close REPL ^ _S_: Restart REPL ^ _F_: Focus _H_: Hide
^^ _c_: Clear ^ _L_: Clear Highlight ^ _<CR>_: ENTER ^ _I_: Interrupt
^ ^ ^ _q_: Quit
^
_a_: Insert Cell After
_b_: Insert Cell Before
_e_: Execute Cell
_j_: Next Cell
_k_: Previous Cell
_m_: Insert Markdown Cell
_x_: Delete Cell
^
_s_: Send Motion
_l_: Send Line
_t_: Send Until Cursor
_f_: Send File
^
_R_: Show REPL
_C_: Close REPL
_S_: Restart REPL
_F_: Focus
_H_: Hide
^
_c_: Clear
_L_: Clear Highlight
_<CR>_: ENTER
_I_: Interrupt
^
^ ^ _q_: Quit
]]

return {
Expand Down

0 comments on commit 53c610d

Please sign in to comment.