sjbach / lusty

LustyExplorer / LustyJuggler for Vim
http://www.vim.org/scripts/script.php?script_id=1890
257 stars 30 forks source link

Close buffer from buffer explorer #59

Closed darookee closed 7 years ago

darookee commented 12 years ago

I added the mapping of C-d to delete a buffer from within the buffer explorer. I'm not sure how stable or secure this is, as I'm not the vim-script or ruby guy... But it works without any errors so far...

grota commented 12 years ago

@sjbach what are your thoughts about this feature? disclaimer: I did not test this, I only think that a buffer-delete feature would be cool in lusty.

sjbach commented 12 years ago

Having functionality to remove buffers is dicey; you want to be sure you get it right, or the user is very sad. I haven't had time to fully review the patch and its effect, and I'm not encouraged by "I'm not the vim-script or ruby guy... But it works without any errors so far...".

darookee commented 12 years ago

I agree with @sjbach, it should work as the user expects. It worked quite well for me and so I thought I should share...

alovak commented 12 years ago

@darookee it seems to me that we try to add similar functionality to lusty. do you left buffer explorer open after buffer was deleted?

@sjbach it means that this function is valuable for vimers :)

darookee commented 12 years ago

@alovak the lusty buffer closes after deleting the selected buffer. As far as I can see our code is nearly the same, but yours looks much cleaner ;-)

michalfapso commented 11 years ago

@darookee Thanks a lot for the patch! I was really missing this feature in lusty.

sjbach commented 7 years ago

I think this feature was implemented in another pull request. Closing - thanks for the work nonetheless.