comparison runtime/doc/windows.txt @ 13818:28ac7914b2b6

Update runtime files and translations commit https://github.com/vim/vim/commit/15142e27aaafa15b72d1042c25fbb5e4f12b6736 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 30 22:19:58 2018 +0200 Update runtime files and translations
author Christian Brabandt <cb@256bit.org>
date Mon, 30 Apr 2018 22:30:08 +0200
parents 78ead137b2ad
children 1174611ad715
comparison
equal deleted inserted replaced
13817:49f764b1d6cc 13818:28ac7914b2b6
1 *windows.txt* For Vim version 8.0. Last change: 2018 Mar 29 1 *windows.txt* For Vim version 8.0. Last change: 2018 Apr 24
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
1081 " last but one 1081 " last but one
1082 :%bdelete " delete all buffers 1082 :%bdelete " delete all buffers
1083 < 1083 <
1084 1084
1085 :bdelete[!] {bufname} *E93* *E94* 1085 :bdelete[!] {bufname} *E93* *E94*
1086 Like ":bdelete[!] [N]", but buffer given by name. Note that a 1086 Like ":bdelete[!] [N]", but buffer given by name, see
1087 buffer whose name is a number cannot be referenced by that 1087 |{bufname}|.
1088 name; use the buffer number instead. Insert a backslash
1089 before a space in a buffer name.
1090 1088
1091 :bdelete[!] N1 N2 ... 1089 :bdelete[!] N1 N2 ...
1092 Do ":bdelete[!]" for buffer N1, N2, etc. The arguments can be 1090 Do ":bdelete[!]" for buffer N1, N2, etc. The arguments can be
1093 buffer numbers or buffer names (but not buffer names that are 1091 buffer numbers or buffer names (but not buffer names that are
1094 a number). Insert a backslash before a space in a buffer 1092 a number). Insert a backslash before a space in a buffer
1121 current buffer, another buffer will be displayed instead. 1119 current buffer, another buffer will be displayed instead.
1122 This is the most recent entry in the jump list that points 1120 This is the most recent entry in the jump list that points
1123 into a loaded buffer. 1121 into a loaded buffer.
1124 1122
1125 :bunload[!] {bufname} 1123 :bunload[!] {bufname}
1126 Like ":bunload[!] [N]", but buffer given by name. Note that a 1124 Like ":bunload[!] [N]", but buffer given by name.
1127 buffer whose name is a number cannot be referenced by that 1125 Also see |{bufname}|.
1128 name; use the buffer number instead. Insert a backslash
1129 before a space in a buffer name.
1130 1126
1131 :N,Mbunload[!] Do ":bunload[!]" for all buffers in the range N to M 1127 :N,Mbunload[!] Do ":bunload[!]" for all buffers in the range N to M
1132 |inclusive|. 1128 |inclusive|.
1133 1129
1134 :bunload[!] N1 N2 ... 1130 :bunload[!] N1 N2 ...
1142 the current buffer remains being edited. See |:buffer-!| for 1138 the current buffer remains being edited. See |:buffer-!| for
1143 [!]. This will also edit a buffer that is not in the buffer 1139 [!]. This will also edit a buffer that is not in the buffer
1144 list, without setting the 'buflisted' flag. 1140 list, without setting the 'buflisted' flag.
1145 Also see |+cmd|. 1141 Also see |+cmd|.
1146 1142
1147 :[N]b[uffer][!] [+cmd] {bufname} 1143 :[N]b[uffer][!] [+cmd] {bufname} *{bufname}*
1148 Edit buffer for {bufname} from the buffer list. See 1144 Edit buffer for {bufname} from the buffer list. A partial
1149 |:buffer-!| for [!]. This will also edit a buffer that is not 1145 name also works, so long as it is unique in the list of
1150 in the buffer list, without setting the 'buflisted' flag. 1146 buffers.
1147 Note that a buffer whose name is a number cannot be referenced
1148 by that name; use the buffer number instead.
1149 Insert a backslash before a space in a buffer name.
1150 See |:buffer-!| for [!].
1151 This will also edit a buffer that is not in the buffer list,
1152 without setting the 'buflisted' flag.
1151 Also see |+cmd|. 1153 Also see |+cmd|.
1152 1154
1153 :[N]sb[uffer] [+cmd] [N] *:sb* *:sbuffer* 1155 :[N]sb[uffer] [+cmd] [N] *:sb* *:sbuffer*
1154 Split window and edit buffer [N] from the buffer list. If [N] 1156 Split window and edit buffer [N] from the buffer list. If [N]
1155 is not given, the current buffer is edited. Respects the 1157 is not given, the current buffer is edited. Respects the
1157 also edit a buffer that is not in the buffer list, without 1159 also edit a buffer that is not in the buffer list, without
1158 setting the 'buflisted' flag. 1160 setting the 'buflisted' flag.
1159 Also see |+cmd|. 1161 Also see |+cmd|.
1160 1162
1161 :[N]sb[uffer] [+cmd] {bufname} 1163 :[N]sb[uffer] [+cmd] {bufname}
1162 Split window and edit buffer for {bufname} from the buffer 1164 Split window and edit buffer for |{bufname}| from the buffer
1163 list. This will also edit a buffer that is not in the buffer 1165 list. This will also edit a buffer that is not in the buffer
1164 list, without setting the 'buflisted' flag. 1166 list, without setting the 'buflisted' flag.
1165 Note: If what you want to do is split the buffer, make a copy 1167 Note: If what you want to do is split the buffer, make a copy
1166 under another name, you can do it this way: > 1168 under another name, you can do it this way: >
1167 :w foobar | sp # 1169 :w foobar | sp #