开发者

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

开发者 https://www.devze.com 2023-01-19 04:24 出处:网络
I lost my late开发者_如何学JAVAst version of my .vimrc and I have no snapshots of it anywhere but I do have a vim still open that has the new functions and mappings. I was hoping that maybe someone wo

I lost my late开发者_如何学JAVAst version of my .vimrc and I have no snapshots of it anywhere but I do have a vim still open that has the new functions and mappings. I was hoping that maybe someone would know how to "export" that running vim's maps and functions out to a file so I could recreate the .vimrc?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消