作者BarrosH (Geek)
看板Programming
标题[问题] Vim 在 Git 下无法使用方向键
时间Wed Dec 1 02:58:28 2010
请问一下有人碰过这个问题吗?
我在 linux 下面使用 vim 是正常的.
但是使用 git commit 时, git 呼叫的 vim 却没办法使用方向键
会变成 ABCD, 我想是 key map 跑掉了.
打 :map
然後却发现预设的 key map 也都不见了. 请问一下要怎麽修复这个问题?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 209.124.189.39
※ BarrosH:转录至看板 Editor 12/01 02:59
1F:推 COLDTURNIP:试着在 .gitconfig 的 [core] 设定 118.166.65.79 12/01 09:05
2F:→ COLDTURNIP:editor = vim 试试看?? 118.166.65.79 12/01 09:06
3F:→ BarrosH:原来我把 editor = vim 放到 user section 209.124.189.39 12/01 11:13
4F:→ BarrosH:感谢 209.124.189.39 12/01 11:13