[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to visit a file and kill the current buffer?
From: |
tomas |
Subject: |
Re: How to visit a file and kill the current buffer? |
Date: |
Sun, 10 Sep 2017 19:24:08 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, Sep 10, 2017 at 12:13:51PM -0500, Mario Castelán Castro wrote:
> Hello.
>
> Is there a way to visit a file in the current window and at the same
> time kill the previous buffer that occupied the current window?
I think you are looking for replace-buffer-contents, bound to C-x v
Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAlm1dTgACgkQBcgs9XrR2kZrVACZATdXQ1g/MlerbR3ulCzkZOFt
KEIAnjOEb34kjyAaJfSMOfdFtiXVtJsd
=FRJn
-----END PGP SIGNATURE-----
Re: How to visit a file and kill the current buffer?, Eli Zaretskii, 2017/09/10
RE: How to visit a file and kill the current buffer?, Drew Adams, 2017/09/10