DEV Community

Discussion on: 10 simple Linux tips which save 50% of my time in the command line

Collapse
 
jingxue profile image
Jing Xue

Within vim, you can more quickly switch back and forth between two files - buffers, technically - by ctrl-6. If you have more than two files, you can still switch between them by ":bn" where n is a buffer number. That's not slower than ctrl-z then "fg n".

Collapse
 
javinpaul profile image
javinpaul

Thx @Jing Xue, awesome tip for vim users.