kingToolbox / kingToolbox/WindTerm
如何彻底禁用Ctrl+L的清屏功能?
Open
- Dominant language
- C
- Stars
- 32.3k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
它和vim的Ctrl+L热键冲突,比较影响使用效果。
试过将wind.keymaps中的Ctrl+L的热键删除,在vim下倒是不冲突了。但在term下,它有一个很神奇的效果,大概相当于:
1. 清屏
2. 回车
3. 将文字窗口向下滚动一行
怎样才能将这个热键彻底禁止?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing Ctrl+L in Vim and in the terminal after removing the Ctrl+L entry from wind.keymaps. Trace the terminal and Vim-mode shortcut handling to determine where the clear, enter, and scroll behavior is triggered. Done means Ctrl+L has no effect in either context.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- vim
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100