[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bookmark the end of file?

From: Marcin Borkowski
Subject: Re: Bookmark the end of file?
Date: Tue, 07 Apr 2015 21:11:36 +0200

On 2015-04-07, at 15:36, J. David Boyd <address@hidden> wrote:

> Why not define a function to do what you want, then bind it to a keystroke?
> I have stuff like
>   (defun open-personal()
>     (interactive) (progn(find-file 
> "~/org/personal/")(end-of-buffer)))
> and then with
>   (bind-key (kbd "H-M-p") 'open-personal)
> I can open my file and go where I want to with a keypress.

Because bookmarks give me a uniform UI for "visiting a file I'm working
on", without the cognitive burden of remembering one keystroke to visit
one file, another one for another file and so on.  IOW, "One keybinding
to visit them all, one keybinding to find them." ;-).

> Dave


Marcin Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

reply via email to

[Prev in Thread] Current Thread [Next in Thread]