Skip to content

Commit

Permalink
Easy way to open very large file at point
Browse files Browse the repository at this point in the history
  • Loading branch information
purcell committed Jan 4, 2018
1 parent 083c174 commit d14d468
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lisp/init-editing-utils.el
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,20 @@
(when (maybe-require-package 'dynamic-spaces)
(dynamic-spaces-global-mode))


;;; A simple visible bell which works in all terminal types
;; Huge files

(require-package 'vlf)

(defun ffap-vlf ()
"Find file at point with VLF."
(interactive)
(let ((file (ffap-file-at-point)))
(unless (file-exists-p file)
(error "File does not exist: %s" file))
(vlf file)))


(defun sanityinc/flash-mode-line ()
(invert-face 'mode-line)
Expand Down

0 comments on commit d14d468

Please sign in to comment.