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

Keybindings such as <CR> do not work in G lol after a search #2370

Closed
nmder opened this issue Jan 20, 2025 · 4 comments
Closed

Keybindings such as <CR> do not work in G lol after a search #2370

nmder opened this issue Jan 20, 2025 · 4 comments

Comments

@nmder
Copy link

nmder commented Jan 20, 2025

Hi there,

I found out that if I search the window of G lol, I cannot open any commit using <CR>. None of the keybindings works really after the search.

Thanks!

@nmder nmder changed the title Keybindings such as <CR> does not work in G lol after a search Keybindings such as <CR> do not work in G lol after a search Jan 20, 2025
@tpope
Copy link
Owner

tpope commented Jan 20, 2025

G lol isn't a valid command. Do you have an alias?

@nmder
Copy link
Author

nmder commented Jan 20, 2025

Sorry. Yes, it's an alias: log --oneline --all --decorate --graph I defined in .gitconfig. The keybindings work unless I search though.

@tpope
Copy link
Owner

tpope commented Jan 21, 2025

It's looking under the cursor. The column is relevant. I'm open to loosening it, but it's tricky, because a lot of the implementation is shared with the gf map.

Workaround is 0<CR>.

@nmder
Copy link
Author

nmder commented Jan 21, 2025

Got it.. I'll just do an autocmd to remap..

Thanks!

@nmder nmder closed this as completed Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants