comparison runtime/doc/editing.txt @ 7469:15eefe1b0dad v7.4.1037

commit https://github.com/vim/vim/commit/027387f70c671f62e3e08e0bdd09ec05b0232735 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 2 22:25:52 2016 +0100 patch 7.4.1037 Problem: Using "q!" when there is a modified hidden buffer does not unload the current buffer, resulting in the need to abandon it again. Solution: When using "q!" unload the current buffer when needed. (Yasuhiro Matsumoto, Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Sat, 02 Jan 2016 22:30:04 +0100
parents 64e30831fa42
children 05cf4cc72a9f
comparison
equal deleted inserted replaced
7468:58a20453ab00 7469:15eefe1b0dad
1103 1103
1104 :conf[irm] q[uit] Quit, but give prompt when changes have been made, or 1104 :conf[irm] q[uit] Quit, but give prompt when changes have been made, or
1105 the last file in the argument list has not been 1105 the last file in the argument list has not been
1106 edited. See |:confirm| and 'confirm'. {not in Vi} 1106 edited. See |:confirm| and 'confirm'. {not in Vi}
1107 1107
1108 :q[uit]! Quit without writing, also when currently visible 1108 :q[uit]! Quit without writing, also when currentl buffer has
1109 buffers have changes. Does not exit when this is the 1109 changes. If this is the last window and there is a
1110 last window and there is a changed hidden buffer. 1110 modified hidden buffer, the current buffer is
1111 In this case, the first changed hidden buffer becomes 1111 abandoned and the first changed hidden buffer becomes
1112 the current buffer. 1112 the current buffer.
1113 Use ":qall!" to exit always. 1113 Use ":qall!" to exit always.
1114 1114
1115 :cq[uit] Quit always, without writing, and return an error 1115 :cq[uit] Quit always, without writing, and return an error
1116 code. See |:cq|. Used for Manx's QuickFix mode (see 1116 code. See |:cq|. Used for Manx's QuickFix mode (see