simplenote-vim / simplenote.vim

vim plugin to interact with the simplenote service
http://www.vim.org/scripts/script.php?script_id=3582
MIT License
368 stars 31 forks source link

Notes titles are sorted Z-A instead of A-Z when option g:SimplenoteSortOrder="pinned,title"¬ #95

Closed emanuk closed 7 years ago

emanuk commented 7 years ago

v1.4.1

I have set this option in my .vimrc

g:SimplenoteSortOrder="pinned,title"¬

And although the pinned notes are at the top, all the notes titles are sorted alphabetical descendants (Z-A instead of expected A-Z).

Thanks for the wonderful vim plugin!

atomicules commented 7 years ago

Thanks for the report. I've never used the title sort so hadn't noticed.

It's an easy fix if anyone is interested in working on it - making it A-Z by default makes sense.

A more interesting/challenging addition would be to support things like "-title" and "+title" to reverse sort orders.

I'll leave this open and up for grabs for a little bit before fixing myself.