fix missing key
This commit is contained in:
parent
57be0c0044
commit
00a1d57005
2 changed files with 3 additions and 2 deletions
|
|
@ -535,7 +535,8 @@ RUN PANEL KEYMAPS *cp-test-keys*
|
||||||
<c-p> Navigate to previous test case (configurable via
|
<c-p> Navigate to previous test case (configurable via
|
||||||
run_panel.prev_test_key)
|
run_panel.prev_test_key)
|
||||||
t Cycle through diff modes: none → git → vim
|
t Cycle through diff modes: none → git → vim
|
||||||
q Exit run panel/interactive terminal and restore layout
|
q Exit run panel and restore layout
|
||||||
|
<c-q> Exit interactive terminal and restore layout
|
||||||
|
|
||||||
Diff Modes ~
|
Diff Modes ~
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -92,7 +92,7 @@ function M.toggle_interactive()
|
||||||
|
|
||||||
vim.fn.chansend(vim.b.terminal_job_id, binary .. '\n')
|
vim.fn.chansend(vim.b.terminal_job_id, binary .. '\n')
|
||||||
|
|
||||||
vim.keymap.set('t', config.run_panel.close_key, function()
|
vim.keymap.set('t', '<c-q>', function()
|
||||||
M.toggle_interactive()
|
M.toggle_interactive()
|
||||||
end, { buffer = term_buf, silent = true })
|
end, { buffer = term_buf, silent = true })
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue