Mercurial > vim
comparison runtime/doc/windows.txt @ 6421:5d89d9b40499
Update runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 06 Dec 2014 23:33:00 +0100 |
parents | 77fe94082f53 |
children | a88d4dc02bf4 |
comparison
equal
deleted
inserted
replaced
6420:4604a182f04c | 6421:5d89d9b40499 |
---|---|
1 *windows.txt* For Vim version 7.4. Last change: 2014 Sep 23 | 1 *windows.txt* For Vim version 7.4. Last change: 2014 Dec 05 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
276 When 'hidden' is set, and there is only one window for the | 276 When 'hidden' is set, and there is only one window for the |
277 current buffer, it becomes hidden. When 'hidden' is not set, | 277 current buffer, it becomes hidden. When 'hidden' is not set, |
278 and there is only one window for the current buffer, and the | 278 and there is only one window for the current buffer, and the |
279 buffer was changed, the command fails. | 279 buffer was changed, the command fails. |
280 | 280 |
281 (Note: CTRL-Q does not | 281 (Note: CTRL-Q does not work on all terminals). |
282 work on all terminals). If [count] is greater than | 282 |
283 the last window number the last window will be closed: > | 283 If [count] is greater than the last window number the last |
284 window will be closed: > | |
284 :1quit " quit the first window | 285 :1quit " quit the first window |
285 :$quit " quit the last window | 286 :$quit " quit the last window |
286 :9quit " quit the last window | 287 :9quit " quit the last window |
287 " if there are less than 9 windows opened | 288 " if there are less than 9 windows opened |
288 :-quit " quit the previews window | 289 :-quit " quit the previews window |
289 :+quit " quit the next window | 290 :+quit " quit the next window |
290 :+2quit " will also work as expected | 291 :+2quit " quit the second next window |
291 < | 292 < |
292 :q[uit]! | 293 :q[uit]! |
293 :{count}q[uit]! | 294 :{count}q[uit]! |
294 Without {count}: Quit the current window. If {count} is | 295 Without {count}: Quit the current window. If {count} is |
295 given quit the {count} window. | 296 given quit the {count} window. |
330 :{count}hid[e] | 331 :{count}hid[e] |
331 Quit the current window, unless it is the last window on the | 332 Quit the current window, unless it is the last window on the |
332 screen. For {count} see |:quit| command. | 333 screen. For {count} see |:quit| command. |
333 | 334 |
334 The buffer becomes hidden (unless there is another window | 335 The buffer becomes hidden (unless there is another window |
335 editing it or 'bufhidden' is "unload" or "delete"). If the | 336 editing it or 'bufhidden' is "unload", "delete" or "wipe"). |
336 window is the last one in the current tab page the tab page is | 337 If the window is the last one in the current tab page the tab |
337 closed. |tab-page| | 338 page is closed. |tab-page| |
338 | 339 |
339 The value of 'hidden' is irrelevant for this command. Changes | 340 The value of 'hidden' is irrelevant for this command. Changes |
340 to the buffer are not written and won't get lost, so this is a | 341 to the buffer are not written and won't get lost, so this is a |
341 "safe" command. | 342 "safe" command. |
342 | 343 |