How to effectively work with multiple files in Vim?
2015-04-07 10:03
701 查看
Why not use tabs (introduced in Vim 7)? You can switch between tabs with
If there are not that many files or you don't have Vim 7 you can also split your screen in multiple files:
:tabnand
:tabp, With
:tabe <filepath>you can add a new tab; and with a regular
:qor
:wqyou close a tab. If you map
:tabnand
:tabpto your F7/F8 keys you can easily switch between files.
If there are not that many files or you don't have Vim 7 you can also split your screen in multiple files:
:sp <filepath>. Then you can switch between splitscreens with Ctrl+W and then an arrow key in the direction you want to move (or instead of arrow keys, w for next and W for previous splitscreen)
相关文章推荐
- How to attach multiple files in the Send Mail Task in SSIS
- [转贴]How to work with stored procedures by using script in an Office InfoPath 2003 form
- How to synhronize source files with Visual Studio for team work
- How to create a project with existing folder of files in Visual Studio?
- How to play '.rm' files with RhythmBox in Ubutu?
- How To Work With JSON In Node.js / JavaScript
- How to Play '.rm' files with RhythmBox in Ubuntu?
- How-to rename multiple files in Linux How-to rename multiple files
- How To Encrypt Files in Linux with eCryptfs
- How to implement multiple constructor with different parameters in Scala
- How to add multiple static library files with different architectures to Xcode
- How to Upload multiple files to documentLibrary in one time
- How do I set up a Microsoft Visual Studio project to work with MATLAB Compiler 4.0?
- How can I make my existing HTML files work in XML?
- Introduction to Programming in C/C with Vim
- (转贴)How to use JDBC and transactions in Tomcat with JOTM
- how to do with the special characters in the xml data
- How to create a PictureMarkerSymbol (Picture Symbol)in ArcGIS server with C#
- how to deal with management problems in glory shoes?
- How-To : Using EJB 3.0 and Java Persistence API with Spring in OC4J