1
0
mirror of https://github.com/m00natic/vlfi.git synced 2025-01-18 12:05:31 +00:00

Document new query replace and save options.

This commit is contained in:
Andrey Kotlarski 2014-09-26 14:14:16 +03:00
parent c3a308c835
commit f63ea96c2b

View File

@ -10,22 +10,22 @@ without swapping and degraded performance.
This is development version of the GNU ELPA [[http://elpa.gnu.org/packages/vlf][VLF]] package. Here's what This is development version of the GNU ELPA [[http://elpa.gnu.org/packages/vlf][VLF]] package. Here's what
it offers in a nutshell: it offers in a nutshell:
- regular expression search on whole file (in constant memory - automatic adjustment of batch size for optimal performance and
determined by current batch size) responsiveness
- regular expression search and replace over whole file
- [[http://www.emacswiki.org/emacs/OccurMode][Occur]] like indexing
- by batch [[http://www.emacswiki.org/emacs/EdiffMode][Ediff]] comparison
- automatic scrolling of batches
- chunk editing (save is immediate if size hasn't changed, done in - chunk editing (save is immediate if size hasn't changed, done in
constant memory determined by current batch size otherwise) constant memory determined by current batch size otherwise)
- [[http://www.emacswiki.org/emacs/OccurMode][Occur]] like indexing
- options to jump to beginning, end or arbitrary file chunk - options to jump to beginning, end or arbitrary file chunk
- smooth integration with [[http://www.emacswiki.org/emacs/HexlMode][hexl-mode]]
- works with [[http://www.emacswiki.org/emacs/TrampMode][TRAMP]] so accessing network files is fine and quick
- newly added content is acknowledged if file has changed size - newly added content is acknowledged if file has changed size
meanwhile meanwhile
- automatic scrolling of batches
- automatic adjustment of batch size for optimal performance
- as it's a minor mode, font locking and functionality of the - as it's a minor mode, font locking and functionality of the
respective major mode is also present respective major mode and other minor modes is also present
- by batch [[http://www.emacswiki.org/emacs/EdiffMode][Ediff]] comparison
- can be added as option to automatically open large files - can be added as option to automatically open large files
- smooth integration with [[http://www.emacswiki.org/emacs/HexlMode][hexl-mode]]
- works with [[http://www.emacswiki.org/emacs/TrampMode][TRAMP]] so accessing network files is fine
GNU Emacs 23 and 24 are supported. GNU Emacs 23 and 24 are supported.
@ -143,10 +143,11 @@ the end.
Continuous chunk recenter around point in current buffer can be Continuous chunk recenter around point in current buffer can be
toggled with *C-c C-v f*. toggled with *C-c C-v f*.
** Search whole file ** Search and/or replace whole file
*C-c C-v s* and *C-c C-v r* search forward and backward respectively *C-c C-v s* and *C-c C-v r* search forward and backward respectively
over the whole file, batch by batch. over the whole file, batch by batch. *C-c C-v %* does search and
query replace saving intermediate changes.
** Occur over whole file ** Occur over whole file
@ -168,6 +169,8 @@ lines are counted from the end of file.
If editing doesn't change size of the chunk, only this chunk is saved. If editing doesn't change size of the chunk, only this chunk is saved.
Otherwise the remaining part of the file is adjusted batch by batch. Otherwise the remaining part of the file is adjusted batch by batch.
*vlf-save-in-place* customization option controls if temporary file
should be used in such case.
** By batch Ediff ** By batch Ediff
@ -178,7 +181,7 @@ last difference in current chunk searches for following one with
difference. The other way around if looking for difference before the difference. The other way around if looking for difference before the
first one. first one.
* Extending * Extend
** Move hooks ** Move hooks