- Where Developers Learn, Share, & Build Careers
I am using VIM 7.3.
With this plugin, when you type Let's say I'm working with just one window. I open the file a first time, then file b, then file c. Now when I am in File C, I want to go back to file and then I want to go back to file a keystroke with a back button on browser history and I want to move forward to move it, to file back from file A and to finally file back C, like I'm playing with a browser history. How can I do this? The file A, B, and C are called "buffer" in the VIM language. The ability to jump directly from buffer to buffer what you want, or the ability to select the buffer you want to jump from. It's easy to jump from one buffer to another, with the list: is also at your disposal (the rest of the page is also filled with interesting information). I use, which is not listed, when I Can not do up and mapping. : MRU is seeing a new window with the files you used recently, this is good, but I Want something more specific than that:
: b command or its cousin:
: b Filename & Lt; CR & gt; Jump directly into buffer by name: b fil
: ls> lc> CR & gt; a numbered of buffers The list shows and waits for one command at that point, to go to the selected buffer:
: b
: Type & lt; numbers & gt; b & lt; cr & gt; To speed up the whole process, you can add the following mapping to your
~ / .vimrc : < / P>
nnoremap & lt; leader & gt; b: ls & lt; c & gt ;: b & lt; am Raksha & gt;
Comments
Post a Comment