Skip to content

pref: disable <C-e> for open-in-place inside nvim-tree#1238

Merged
ayamir merged 2 commits intomainfrom
perf/disable-open-in-place-for-nvim-tree
Apr 20, 2024
Merged

pref: disable <C-e> for open-in-place inside nvim-tree#1238
ayamir merged 2 commits intomainfrom
perf/disable-open-in-place-for-nvim-tree

Conversation

@ayamir
Copy link
Owner

@ayamir ayamir commented Apr 20, 2024

This PR disable <C-e> in nvim-tree buffer which will open file in place originally. IMO just leaving it to scroll is better and we usually don't want to open a file in such a narrow buffer.

Signed-off-by: ayamir <lgt986452565@gmail.com>
@Jint-lzxy Jint-lzxy changed the title perf: disable <C-e> for open-in-place in nvim-tree buffer. pref: disable <C-e> for open-in-place inside nvim-tree Apr 20, 2024
Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com>
Signed-off-by: Mohu <miracle_l@bupt.edu.cn>
@ayamir ayamir merged commit 1e6222c into main Apr 20, 2024
@ayamir ayamir deleted the perf/disable-open-in-place-for-nvim-tree branch April 20, 2024 10:33
ttbug pushed a commit to ttbug/nvimconf that referenced this pull request Apr 21, 2024
* perf: disable <C-e> for open-in-place in nvim-tree buffer.

Signed-off-by: ayamir <lgt986452565@gmail.com>

* fixup: minor code style fix.

Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com>
Signed-off-by: Mohu <miracle_l@bupt.edu.cn>

---------

Signed-off-by: ayamir <lgt986452565@gmail.com>
Signed-off-by: Mohu <miracle_l@bupt.edu.cn>
Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com>
Deg2v pushed a commit to Deg2v/nvimdots that referenced this pull request Jan 16, 2025
* perf: disable <C-e> for open-in-place in nvim-tree buffer.

Signed-off-by: ayamir <lgt986452565@gmail.com>

* fixup: minor code style fix.

Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com>
Signed-off-by: Mohu <miracle_l@bupt.edu.cn>

---------

Signed-off-by: ayamir <lgt986452565@gmail.com>
Signed-off-by: Mohu <miracle_l@bupt.edu.cn>
Co-authored-by: jint_lzxy_ <50296129+Jint-lzxy@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

2 participants