mirror of
https://github.com/m00natic/vlfi.git
synced 2025-01-18 20:10:47 +00:00
Update README and bump version.
This commit is contained in:
parent
a0cafa71ea
commit
72fec35f44
34
README.org
34
README.org
@ -17,6 +17,8 @@ what it does in a nutshell:
|
|||||||
- 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 scrolling of batches
|
||||||
|
- as VLF is minor mode, font locking and functionality of the
|
||||||
|
respective major mode is also present
|
||||||
- VLF is added as an option when opening large files
|
- VLF is added as an option when opening large files
|
||||||
|
|
||||||
GNU Emacs 23 and 24 are supported.
|
GNU Emacs 23 and 24 are supported.
|
||||||
@ -43,6 +45,30 @@ integer value), VLF will probably not quite work.
|
|||||||
|
|
||||||
* Detail usage
|
* Detail usage
|
||||||
|
|
||||||
|
** Applicability
|
||||||
|
|
||||||
|
You can control when vlf-mode is invoked or offered as choice with the
|
||||||
|
*vlf-application* customization option. By default it will offer VLF
|
||||||
|
when opening large files. There are also options to never use it (you
|
||||||
|
can still call *vlf* command explicitly); to use it without asking for
|
||||||
|
large files or to invoke it on all files. Here's example setup such
|
||||||
|
that vlf-mode automatically launches for large files:
|
||||||
|
|
||||||
|
#+BEGIN_EXAMPLE
|
||||||
|
(custom-set-variables
|
||||||
|
'(vlf-application 'dont-ask))
|
||||||
|
#+END_EXAMPLE
|
||||||
|
|
||||||
|
** Keymap
|
||||||
|
|
||||||
|
All VLF operations are grouped under the *C-c C-v* prefix by default.
|
||||||
|
Here's example how to add another prefix (*C-x v*):
|
||||||
|
|
||||||
|
#+BEGIN_EXAMPLE
|
||||||
|
(eval-after-load "vlf"
|
||||||
|
'(define-key vlf-prefix-map "\C-xv" vlf-mode-map))
|
||||||
|
#+END_EXAMPLE
|
||||||
|
|
||||||
** Control batch size
|
** Control batch size
|
||||||
|
|
||||||
*C-c C-v +* and *C-c C-v -* control current batch size by factors
|
*C-c C-v +* and *C-c C-v -* control current batch size by factors
|
||||||
@ -53,11 +79,11 @@ refresh with *C-c C-v g*.
|
|||||||
|
|
||||||
** Move around
|
** Move around
|
||||||
|
|
||||||
*C-c C-v PgUp* and *C-c C-v PgDn* move batch by batch. With positive
|
*C-c C-v n* and *C-c C-v p* move batch by batch. With positive
|
||||||
prefix argument they move prefix number of batches. With negative -
|
prefix argument they move prefix number of batches. With negative -
|
||||||
append prefix number of batches.
|
append prefix number of batches.
|
||||||
|
|
||||||
*C-c C-v n* displays batch starting from current point.
|
*C-c C-v SPC* displays batch starting from current point.
|
||||||
|
|
||||||
*C-c C-v [* and *C-c C-v ]* take you to the beginning and end of file
|
*C-c C-v [* and *C-c C-v ]* take you to the beginning and end of file
|
||||||
respectively.
|
respectively.
|
||||||
@ -88,10 +114,6 @@ from the beginning, so again the bigger current batch size, the
|
|||||||
quicker. With negative argument, lines are counted from the end of
|
quicker. With negative argument, lines are counted from the end of
|
||||||
file.
|
file.
|
||||||
|
|
||||||
** Reload
|
|
||||||
|
|
||||||
*C-c C-v g* discards modifications (if such) and reloads chunk.
|
|
||||||
|
|
||||||
** Edit and save
|
** Edit and save
|
||||||
|
|
||||||
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.
|
||||||
|
2
vlf.el
2
vlf.el
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
;; Copyright (C) 2006, 2012, 2013 Free Software Foundation, Inc.
|
;; Copyright (C) 2006, 2012, 2013 Free Software Foundation, Inc.
|
||||||
|
|
||||||
;; Version: 1.1
|
;; Version: 1.2
|
||||||
;; Keywords: large files, utilities
|
;; Keywords: large files, utilities
|
||||||
;; Maintainer: Andrey Kotlarski <m00naticus@gmail.com>
|
;; Maintainer: Andrey Kotlarski <m00naticus@gmail.com>
|
||||||
;; Authors: 2006 Mathias Dahl <mathias.dahl@gmail.com>
|
;; Authors: 2006 Mathias Dahl <mathias.dahl@gmail.com>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user