Skip to content

Unload/delete/wipe a buffer, keep its window(s), display last accessed buffer(s)

License

Notifications You must be signed in to change notification settings

MephistoMMM/buf-circular-kill

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

BufCircularKill

Based On BufKill 1.10

News:

  • Fix bug in updateList(), now just remove the delete buffer' Index, not remove the list end.
  • Now change BufKillList to circular list , at the both ends of BufKillList , go back or go formate will go to the another end of BufKillList.
  • Add new buffer function
  • Change key map to spacemacs-like . e.g: 'bn(p)' to turn to next(prev) buffer, 'bt' to create new buffer , 'bd(!)' to delete this buffer
  • Change w:BufKillList and w:BufKillColumnList to global variate , hence it will sync to airline tag bar.

TODO:

  • some buffers unexpected to be load may be out of BufKillList's contrl, e.g: choose nothing while 'Swap file "/path/to/file" already exists!'
  • it should be more swift and fast
  • more details readme
  • make user be able to config key maps

License:

MIT

About

Unload/delete/wipe a buffer, keep its window(s), display last accessed buffer(s)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Vim Script 100.0%