Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get information about current buffer/file in emacs?

Tags:

emacs

When working on a buffer (that maps to a certain file) , how to get info about it? Like Path on disk, size, ...

like image 593
Peter Avatar asked Jun 11 '09 09:06

Peter


People also ask

How do you select all in current buffer in Emacs?

C-x h will select the entire buffer. You can search for help within Emacs using the built-in help system.

How to navigate to a file in Emacs?

Visiting a file means reading its contents into an Emacs buffer so you can edit them. Emacs makes a new buffer for each file that you visit. To visit a file, type C-x C-f ( find-file ) and use the minibuffer to enter the name of the desired file. While in the minibuffer, you can abort the command by typing C-g .

How do I switch buffers in Emacs?

To move between the buffers, type C-x b. Emacs shows you a default buffer name. Press Enter if that's the buffer you want, or type the first few characters of the correct buffer name and press Tab. Emacs fills in the rest of the name.


1 Answers

M-x dired RET

like image 176
Peter Miehle Avatar answered Sep 21 '22 12:09

Peter Miehle