mirror of
https://github.com/m00natic/vlfi.git
synced 2025-01-31 02:00:47 +00:00
Rename vlf-discard-edit -> vlf-refresh.
This commit is contained in:
parent
28646fbfee
commit
3e8098af61
@ -86,6 +86,10 @@ from the beginning, so again the bigger current batch size, the
|
||||
quicker. With negative argument, lines are counted from the end of
|
||||
file.
|
||||
|
||||
** Reload
|
||||
|
||||
*C-c C-v g* discards modifications (if such) and reloads chunk.
|
||||
|
||||
** Edit and save
|
||||
|
||||
If editing doesn't change size of the chunk, only this chunk is saved.
|
||||
|
4
vlf.el
4
vlf.el
@ -77,7 +77,7 @@
|
||||
(define-key map "]" 'vlf-end-of-file)
|
||||
(define-key map "j" 'vlf-jump-to-chunk)
|
||||
(define-key map "l" 'vlf-goto-line)
|
||||
(define-key map "q" 'vlf-discard-edit)
|
||||
(define-key map "g" 'vlf-refresh)
|
||||
(define-key map-prefix "\C-c\C-v" map)
|
||||
map-prefix)
|
||||
"Keymap for `vlf-mode'.")
|
||||
@ -854,7 +854,7 @@ in file: %s" total-matches line regexp file)
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;;; editing
|
||||
|
||||
(defun vlf-discard-edit ()
|
||||
(defun vlf-refresh ()
|
||||
"Discard edit and refresh chunk from file."
|
||||
(interactive)
|
||||
(set-buffer-modified-p nil)
|
||||
|
Loading…
x
Reference in New Issue
Block a user