WuTheFWasThat / vimflowy

An open source productivity tool drawing inspiration from workflowy and vim
https://www.wuthejeff.com/vimflowy
MIT License
1.6k stars 111 forks source link

Carriage returns are recognized as empty chars on import via plaintext file #341

Closed mmtftr closed 4 years ago

mmtftr commented 4 years ago

I have imported over my data from workflowy and after import there was one char at the end of each line that my cursor disappeared on selecting. After some looking around I found that that char was a carriage return \r char.

Vimflowy should discard carriage returns entirely imo. This was really annoying because my cursor disappeared many times and it took me some time to understand the situation.

mmtftr commented 4 years ago

Also confirming that the problem of the cursor disappearing is solved by running the exported plaintext file through dos2unix and reimporting.

WuTheFWasThat commented 4 years ago

attempted (but untested) fix here https://github.com/WuTheFWasThat/vimflowy/commit/4bcc12ac17786755dc3bae93966bbf88813a2bb3, let me know if it still isn't fixed

mmtftr commented 4 years ago

The issue seems to be fixed, thanks.