I can sees that when I use mksession it writes file to save session. The file looks ok and session is loading ok. But It change my colorsheme when I load the session whith so. After session is opened the color scheme is another. What it can be? Why I cannot restore my session?
| |||
|
feedback
|
|
@itun The default behavior for VIM sessions is that it doesn't save off the colorscheme. While I'm sure there is a good reason for doing this, I'm not sure what it is. I have also run into the same situation, and wrote a couple of VIM functions and a VIM command to get the behavior you are talking about (really only needs to save off the :colorscheme colors_name).
This will create a VIM User command to wrap the built-in one (:Mks ), and also will add command-mode abbreviations to expand out the built-in command to use the new User Command version. Hope that helps. | |||
|
feedback
|