Skip to content

Commit

Permalink
fix: change terminal close hotkey
Browse files Browse the repository at this point in the history
migrate from <Esc> hotkey to <leader><Esc>
  • Loading branch information
senelway committed Jul 26, 2023
1 parent 7b0e670 commit 9df1b6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvim/lua/custom/mappings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ M.telescope = {
M.nvterm = {
plugin = true,
t = {
["<Esc>"] = {
["<leader><Esc>"] = {
function()
if require("custom.utils.helpers").isCurrentBufferOption "terminal" then
require("nvterm.terminal").toggle "float"
Expand Down

0 comments on commit 9df1b6f

Please sign in to comment.