Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: double <esc> key-mapping is not ideal in lazygit term #567

Closed
1 task done
criuss opened this issue Apr 12, 2023 · 0 comments · Fixed by #588
Closed
1 task done

feature: double <esc> key-mapping is not ideal in lazygit term #567

criuss opened this issue Apr 12, 2023 · 0 comments · Fixed by #588
Labels
enhancement New feature or request

Comments

@criuss
Copy link

criuss commented Apr 12, 2023

Did you check the docs?

  • I have read all the LazyVim docs

Is your feature request related to a problem? Please describe.

canceling an popup in lazygit needs 1-2 seconds because the map("t", "<esc><esc>", "<c-\\><c-n>", {desc = "Enter Normal Mode"}) make neovim wait for the second <esc>

Describe the solution you'd like

  • disable the global key mapping and set it in the buffer on every terminal
  • unset the <esc><esc> key mapping in lazygit terminal

Describe alternatives you've considered

i use toggle term so i just disabled the global mapping and added it as a buffer key mapping on every term

Additional context

thx for this wonderful base setup :-)

@criuss criuss added the enhancement New feature or request label Apr 12, 2023
@folke folke closed this as completed in a9e9204 Apr 16, 2023
ofrades pushed a commit to ofrades/LazyVim that referenced this issue May 30, 2023
joshmedeski pushed a commit to joshmedeski/LazyVim that referenced this issue Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant