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

"g:SimplenoteSingleWindow" doesn't seem to work #74

Open blueberrycake opened 8 years ago

blueberrycake commented 8 years ago

Setting the SimplenoteSingleWindow doesnt keep Simplenote contained to a single window

Steps to reproduce:

1) Add "let g:SimplenoteSingleWindow = "true"" to .vimrc 2) Open Simplenote list with "Simplenote -l" 3) Select any note 4) The new note will open in a split window

atomicules commented 8 years ago

Hi, I think the problem here is that I've perhaps not named that very well or explained it perfectly in the README. The behaviour you explain is intended.

I.e. with single window mode:

1) Open Simplenote list with "Simplenote -l" 2) Select any note 3) The new note will open in a split window 4) Go back to index 5) Select another note 6) Note opens in the same window the first note was opened in ...goto 4 and repeat, etc

Without single window mode:

1) Open Simplenote list with "Simplenote -l" 2) Select any note 3) The new note will open in a split window 4) Go back to index 5) Select another note 6) Note opens in a new split window ...goto 4 and repeat, etc

blueberrycake commented 8 years ago

Thanks, that makes sense. It might be worth adding another option for just using one window for everything and never splitting windows. That's how file selection works in netrw, and its quite handy for reducing window clutter.

ggsalas commented 5 years ago

Hi, any updates on this? Thanks!

atomicules commented 5 years ago

@ggsalas latest update is that this isn't something I plan on working on (for me, the current "single" window mode works as expected), but it's there for anyone else who fancies working on it.

Unless someone can articulate/adjust the intent of this issue slightly differently... I can see how having a collapsible sidebar might be useful