Is there a way to export my current maps and vim functions as .vimrc?

I lost my latest version of my .vimrc, and I don't have snapshots anywhere, but I still have vim that has new features and displays. I was hoping that maybe someone would know how to “export” what works vim cards and functions to a file so that I can recreate .vimrc?

+3
source share
1 answer

Use :mkvimrc(or :mksession, if you also want to keep any buffer-local state too).

+11
source

Source: https://habr.com/ru/post/1768333/


All Articles