Hi Ziming, 2016-11-8(Tue) 13:36:28 UTC+9 Ziming Dong: > I'm using vim8.0, version 8.0.23. > > this is my vimrc file in ~/.vimrc. > > I find these lines not working, > :map <C-j> <ESC>:tabp<CR> > :map <C-k> <ESC>:tabn<CR> > inoremap { {}<LEFT> > inoremap ( ()<LEFT> > inoremap [ []<LEFT> > > > and when I type {, I just get {}<LEFT> in insert mode.
Perhaps the mapping command is do in vi-compatible mode. Let's confirm! Please add below two lines just before `:map <C-j> <ESC>:tabp<CR>` in your .vimrc and start Vim. And tell me the result of :messages echom 'compatible:' &cp echom 'cpoptions:' &cpo -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.