[ACCEPTED]-Vim: create marks across files?-vim
Yes. Use capital letters for the mark.
http://vim.wikia.com/wiki/Using_marks
Marks 12 can span across files. To use such marks 11 one has to use upper-case registers i.e. A-Z. Lower-case 10 registers are used only within files and 9 do not span files. That's to say, if you 8 were to set a mark in a file foo.c in register 7 "a" and then move to another file 6 and hit 'a, the cursor will not jump back 5 to the previous location. If you want a 4 mark which will take you to a different 3 file then you will need to use an upper-case 2 register. For example, use mA instead of 1 ma.
Use the A-Z
marks, they are available across 1 files.
More Related questions
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.