2

Here is are the startup errors when I run vim:

i  <Up>        * <Esc><Up>
i  <Down>      * <Esc><Down>
i  <Left>      * <Esc><Left>
i  <Right>     * <Esc><Right>
i  <Home>      * <Esc>y
i  <End>       * <Esc>l
i  <PageUp>    * <Esc><PageUp>
i  <PageDown>  * <Esc><PageDown>
i  <kEnter>    * <Esc>o

Which result from these mappings:

inoremap <kEnter> <Esc>o 
inoremap <PageDown> <Esc><PageDown> 
inoremap <PageUp> <Esc><PageUp> 
inoremap <End> <Esc>l 
inoremap <Home> <Esc>y 
inoremap <Right> <Esc><Right> 
inoremap <Left> <Esc><Left> 
inoremap <Down> <Esc><Down> 
inoremap <Up> <Esc><Up> 

I can't figure out what this is trying to tell me, because these bindings appear to work for me.

  • 2
    Those aren't errors. What you see is the output of a stray :imap command. – romainl Jun 11 '16 at 7:44
  • 1
    Yes, show us your vimrc. – romainl Jun 11 '16 at 7:49
  • 1
    paste.ubuntu.com/17200916 – Akiva Jun 11 '16 at 7:52
  • 1
    One of your plugins with a command like :au BufEnter *.* :imap may cause this output to be shown everytime. When you open a file. – SibiCoder Jun 11 '16 at 8:33
  • 1
    @Akiva line 220 in that paste is your problem. Like romainl said, it's a stray :imap command. Using :i[nore]map without any arguments prints all of the insert maps. – Tommy A Jun 11 '16 at 15:12
2

In my case, I had a stray

i[nore]map Line 220

command, which by itself will print all insert maps. Removing this fixed my problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.