Skip to content

Commit

Permalink
fix(toggleterm-manager-nvim): add missing keybindings documented (#988)
Browse files Browse the repository at this point in the history
fix(toggleterm-manager): add missing keybindings documented
  • Loading branch information
LumenYoung authored May 24, 2024
1 parent b94f9bd commit d7b784a
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ return {
["d"] = { action = actions.delete_term, exit_on_action = false }, -- deletes a terminal buffer
["n"] = { action = actions.create_term, exit_on_action = false }, -- creates a new terminal buffer
},
i = {
["<CR>"] = { action = actions.toggle_term, exit_on_action = true }, -- toggles terminal open/closed
["<C-r>"] = { action = actions.rename_term, exit_on_action = false }, -- provides a prompt to rename a terminal
["<C-d>"] = { action = actions.delete_term, exit_on_action = false }, -- deletes a terminal buffer
["<C-n>"] = { action = actions.create_term, exit_on_action = false }, -- creates a new terminal buffer
},
},
})
end,
Expand Down

0 comments on commit d7b784a

Please sign in to comment.