Tip #250: One big window
tip karma |
Rating 30/14, Viewed by 1255
|
created: |
|
May 23, 2002 6:40 |
|
complexity: |
|
basic |
author: |
|
Kontra Gergely |
|
as of Vim: |
|
5.7 |
If you like to see your files in fullscreen, and you have to edit more files, you can do the following.
* Use only one window
* Open further files with :e
* type :nm <A-Up> :bp!<CR>
* type :nm <A-Down> :bn!<CR>
* type :nm <C-F4> :bd!<CR>
You can of course change the keys.
Now to switch between windows, you can press Alt-Up, and Alt-Down
(Just in the GUI, if you use console, don't use Alt key)
Another idea is to map them to Ctrl-Tab, and Ctrl-Shift-Tab
To close the current file you can press Ctrl-F4
<<C/C++: Quickly insert #if 0 - #endif around block of code |
c/c++: align #endif with corresponding #if/#ifdef >>
Additional Notes
|