aboutsummaryrefslogtreecommitdiffstats
path: root/shino
diff options
context:
space:
mode:
Diffstat (limited to 'shino')
-rw-r--r--shino/packages/vim.scm44
1 files changed, 44 insertions, 0 deletions
diff --git a/shino/packages/vim.scm b/shino/packages/vim.scm
index 6070706..13bdf1e 100644
--- a/shino/packages/vim.scm
+++ b/shino/packages/vim.scm
@@ -204,3 +204,47 @@ buffer.")
(synopsis "deoplete source for vim-lsp")
(description "deoplete source for vim-lsp")
(license license:expat))))
+
+(define-public vim-bbye
+ (let ((commit "25ef93ac5a87526111f43e5110675032dbcacf56")
+ (revision "1"))
+ (package
+ (name "vim-bbye")
+ (version (git-version "1.0.1" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/moll/vim-bbye")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0dlifpbd05fcgndpkgb31ww8p90pwdbizmgkkq00qkmvzm1ik4y4"))))
+ (build-system copy-build-system)
+ (arguments
+ `(#:install-plan '(("plugin" "share/vim/vimfiles/"))))
+ (home-page "https://github.com/moll/vim-bbye")
+ (synopsis
+ "Delete buffers and close files in Vim without closing your windows or messing up your layout. Like Bclose.vim, but rewritten and well maintained.")
+
+ (description
+ "Bbye allows you to do delete buffers (close files) without
+ closing your windows or messing up your layout.
+
+Vim by default closes all windows that have the buffer (file) open when you do
+:bdelete. If you've just got your splits and columns perfectly tuned, having
+them messed up equals a punch in the face and that's no way to tango.
+
+Bbye gives you :Bdelete and :Bwipeout commands that behave like well designed
+citizens:
+@itemize
+@item Close and remove the buffer.
+@item Show another file in that window.
+@item Show an empty file if you've got no other files open.
+@item Do not leave useless [no file] buffers if you decide to edit another file in that window.
+@item Work even if a file's open in multiple windows.
+@item Work a-okay with various buffer explorers and tabbars.
+@end itemize
+Regain your throne as king of buffers!")
+ ;; Bbye is released under a Lesser GNU Affero General Public License.
+ (license license:agpl3))))