In VIM 7.3 on Ubuntu Server 12.04.1, VIM forgets macros and registers after closing. I do have
set nocompatible in
.vimrc and the command
:set viminfo? gives this result:
What might be preventing the macros and registers from being stored across close / open?
Note that I am not interested in storing mappings for long term use in
.vimrc. Rather, sometimes (such as during refactoring) I need to perform a simple operation on a few files and I find it easier to do in VIM than with Perl. I just need the macros and registers stored across open / close, which I do have working on other servers.