Rails 关于 vim 是映射问题

shangrenzhidao · 2014年03月13日 · 最后由 nightire 回复于 2014年03月13日 · 3519 次阅读

我使用的机器是 mac,这是我的 vimrc 文件 1 " Configuration file for vim 2 set modelines=0 " CVE-2007-2438 3 4 " Normally we use vim-extensions. If you want true vi-compatibility 5 " remove change the following statements 6 set nocompatible " Use Vim defaults instead of 100% vi compatibility 7 set backspace=2 " more powerful backspacing 8 9 " Don't write backup file if vim is being called by "crontab -e" 10 au BufWrite /private/tmp/crontab.* set nowritebackup 11 " Don't write backup file if vim is being called by "chpass" 12 au BufWrite /private/etc/pw.* set nowritebackup 13 set number 14 imap jj 15 set shiftwidth=4 16 set tabstop=2 17 18 execute pathogen#infect() 19 map :NERDTreeToggle ~
现在我打 ctrl+space 会由 insert 转换到 normal 模式,我现在想取消这个 map 应该怎么做

原来我把输入法的映射改掉了,但是 vim 在哪里设定了 control + space 为 退出编辑模式?

输入 :map 看一下有没有。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号