
Where can I find my .emacs file for Emacs running on Windows?
Within Emacs, ~ at the beginning of a file name is expanded to your HOME directory, so you can always find your .emacs file with C-x C-f ~/.emacs. There's further information at HOME and …
What is the best way to open remote files with emacs and ssh
Dec 17, 2013 · Use Emacs bookmarks. Just create bookmarks normally, when you visit a remote file or directory. Then just use C-x r b to jump to a remote bookmark, whose name you provide …
How do I set the size of Emacs' window? - Stack Overflow
Sep 18, 2008 · 116 I'm trying to detect the size of the screen I'm starting emacs on, and adjust the size and position the window it is starting in (I guess that's the frame in emacs-speak) …
Changing the default folder in Emacs - Stack Overflow
You didn't say so, but it sounds like you're starting Emacs from a Windows shortcut. The directory that you see with c-x c-f is the cwd, in Emacs terms, the default-directory (a variable). When …
How can I select or highlight a block in Emacs? - Stack Overflow
Mar 18, 2009 · I want to select or highlight a block in Emacs without using the mouse, but doing it from the keyboard like Vim's visual mode. What is the easiest way to do this from a keyboard?
How can I reload .emacs after changing it? - Stack Overflow
How can I get Emacs to reload all my definitions that I have updated in .emacs without restarting Emacs?
Differences between Emacs and Vim - Stack Overflow
Sep 16, 2009 · Emacs used to be the only editor of the two that was programmable, and while Vim has a lot of weird levels to its programmability, with the addition of Python and Ruby …
How do I use emacs on macos terminal? - Stack Overflow
Jan 26, 2023 · What I recommend is to have the command emacs --deamon launch at startup, and I binded "Ctrl-Alt e" to emacsclient -n to launch new Emacs frame with a quick shortcut. …
How can I replace a character with a newline in Emacs?
On my version of Emacs 25.2.2, C-o will enter a newline in the main window when using search, while C-q C-j will enter the newline in the minibuffer. C-o does work with query - replace though.
How do I exit Emacs from the terminal? - Stack Overflow
May 4, 2021 · Emacs in a terminal is a much more constrained beast, with fewer keystrokes available to it and the terminal and OS interfering more.