mirror of
https://github.com/jbranchaud/til
synced 2026-01-03 07:08:01 +00:00
Add Next Modified Buffer as a vim til.
This commit is contained in:
@@ -155,6 +155,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
|
||||
- [Marks Across Vim Sessions](vim/marks-across-vim-sessions.md)
|
||||
- [Moving To A Specific Line](vim/moving-to-a-specific-line.md)
|
||||
- [NETRW Listing Styles](vim/netrw-listing-styles.md)
|
||||
- [Next Modified Buffer](vim/next-modified-buffer.md)
|
||||
- [Open an Unnamed Buffer](vim/open-an-unnamed-buffer.md)
|
||||
- [Opening a URL](vim/opening-a-url.md)
|
||||
- [Preventing Typos with Abbreviations](vim/preventing-typos-with-abbreviations.md)
|
||||
|
||||
12
vim/next-modified-buffer.md
Normal file
12
vim/next-modified-buffer.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# Next Modified Buffer
|
||||
|
||||
After working for a while on a feature that involves looking at a number of
|
||||
files, I end up with a decent buffer list. I will have inevitably edited a
|
||||
few of those files and occasionally I'll inadvertently leave one of the
|
||||
buffers modified. Instead of opening
|
||||
the buffer list (`:ls`), finding the modified buffer, and navigating to it,
|
||||
I can just jump straight to it. I can do this with `:bmodified` or just
|
||||
`:bm`. This jumps straight to the next modified buffer. If there is no
|
||||
modified buffer, it tells me *No modified buffer found*.
|
||||
|
||||
See `:h bmodifed` for more details.
|
||||
Reference in New Issue
Block a user