Hello Gregor, Thank you, this is working nicely. I was looking at lots of things on the net, hoping that I find the definitions of things, but information was scattered around and examples contained as yet unknown things for me to chase.
I don't know what, if any, difference is of <Esc> and <ESC>, between <C-R> and <CR>, :abbrev and abbrev and abbr and ab, nmap and :nmap, between normal mode and command mode, etc, not to talk about the <ctrl> things. Also, what are the in-built things that you should not override, what do they do? I guess, that all of this would fit on just a few pages, but is there such a compilation somewhere? I would be happy if you could point me in the direction of a good documentation of vim. Thank you, Miklos On 07/02/2010, at 03:22 AM, Gregor Uhlenheuer wrote: > Miklos Somogyi schrieb: >> Hello Folks, >> >> I am familiar with vi but new to vim. I used to use the map instruction to >> do a lot of goodies for me. >> However, my new keyboard (diNovo Edge for Mac) would not let me program the >> function keys, so >> I got interested in vim's abbreviations. >> >> I can do double quotes for groff in insert mode, but I can not master >> normal/command mode. >> E.g. >> >> cabbrev ;; :q!<CR> >> >> should quit a session but it does not. What's wrong? >> >> Friday >> > Hi, > you should use a mapping instead: > > nmap ;; :q!<CR> > > see :h :map-commands for additional information > > Regards, > Gregor > > -- > You received this message from the "vim_use" maillist. > For more information, visit http://www.vim.org/maillist.php -- You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php
