Closed L1Q closed 3 years ago
Sometimes I have to reload a buffer with :e ++enc=cp1251 ++ff=dos. This allows me to see and write cyrillic characters correctly. After session reloading however the encoding is reset and the aforementioned command has to be run again.
:e ++enc=cp1251 ++ff=dos
Related vim doc: http://vimdoc.sourceforge.net/htmldoc/editing.html#++enc
This is likely a vim issue and not obsession issue, expecting workarounds and plugin suggestions.
Yeah, sounds like a Vim issue. Doing :set sessionoptions+=localoptions might help by storing 'enc' and 'ff' in the session. I'll let you test.
:set sessionoptions+=localoptions
'enc'
'ff'
sessionoptions does not seem to help.
sessionoptions
Sometimes I have to reload a buffer with
:e ++enc=cp1251 ++ff=dos
. This allows me to see and write cyrillic characters correctly. After session reloading however the encoding is reset and the aforementioned command has to be run again.Related vim doc: http://vimdoc.sourceforge.net/htmldoc/editing.html#++enc
This is likely a vim issue and not obsession issue, expecting workarounds and plugin suggestions.