Manfred Georg wrote: > Apparently this isn't a very popular thing to do, but I remap g > to help me do indentation. There are two problems with this. > In gvimrc_example.vim , there is some code (which has been copied > all sorts of places) which does automatic > jump to last position when file was closed. This uses the command g'" > Unfortunately when g has been remapped it triggers this mapping. > > To fix this the line with > \| exe "normal g'\"" | endif > should read > \| exe "normal! g'\"" | endif > > the ! stops it from remapping g to the local mapping.
Right. Thanks for the fix. -- Emacs is a nice OS - but it lacks a good text editor. That's why I am using Vim. --Anonymous /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///