Quick key-bindings reference guide: means hold Control and press a means hold control and press x, then release control and press s means hold alt and press x and so on
some useful emacs modes: erc/rcirc for irc elfeed for rss eshell for general shell usage dired for file and directory management image-dired for gallery style image viewing pdf-tools for better pdf viewing org for organization gnus/notmuch/mu4e for email
Topics for discussion: Should emacs' extension language be changed? What about if there was a perfect elisp compatibility layer in the new extension language? What powerful tools have you recently included in your workflow? Should emacs newbies be encouraged to use starterpacks like doom-emacs, spacemacs, etc? What programming language do you use emacs to code? What packages do you use? Where do you think that emacs can improve the most? What is the worst part of using emacs? Share some neat settings that you found improve your experience!
Need help with emacs? These tools are your best friend: describe-variable : C-h v : describes a variable and its contents describe-function : C-h f : describes a function and shows its source location apropos-documentation : C-h d : shows documentation for the queried symbol info : C-h i : navigate all emacs and library documentation where-is : C-h w : shows which key a function is bound to
Other useful tools: #emacs on freenode (very active) emacs and elisp info manual emacs mailing list
A neat trick in dired-mode is that you can press 'o' on a file or folder to open it in the other window, making navigating a directory tree very easy!
Mason Moore
/csg/ here, please name your future threads something else, k thx
Connor Watson
You can set (setq next-screen-context-lines 4)
to set the number of lines from the current screen that remain viewable when you do scroll-up(C-v) or scroll-down(M-v)
Cameron Myers
when in dired-mode pressing & (dired-do-async-shell-command) will sometimes guess what command you want to run. You can set that command by pushing a alist with the extension and the command. For example: (push '("\\.png\\'" "feh") dired-guess-shell-alist-user) (push '("\\.jpg\\'" "feh") dired-guess-shell-alist-user) (push '("\\.jpeg\\'" "feh") dired-guess-shell-alist-user) (push '("\\.mkv\\'" "mpv") dired-guess-shell-alist-user) (push '("\\.webm\\'" "mpv") dired-guess-shell-alist-user) (push '("\\.mp4\\'" "mpv") dired-guess-shell-alist-user)
and if you want it to execute the guess without asking, just set. (fset 'really-do-dired [?& return]) (define-key dired-mode-map (kbd "M-RET") 'really-do-dired)
and press M-RET on the item
Jeremiah Williams
what i hate about dired is that it keeps opening buffers
i'm sure there's a way for it to not do that but dired is pretty complex
Carter Hernandez
You should go to 8/emacs/
Juan Richardson
that board is somehow even more dead than these emacs generals are
Jeremiah Miller
Yeah, it seems deader than XEmacs/SXEmacs.
Michael Ramirez
Fledgling here Why should I use emacs over vim?
Jason Stewart
>want to learn emacs >realize i need to learn to program first baby steps
Landon Myers
you need to learn how to copy/paste the correct segments, not programming
David Wood
Emacs is essentially a superset of vim. Everything you can do in vim can be done in Emacs, but better. Emacs also has a better extension language that makes it effortless to write extebsions.
Austin Cook
yea, you can even run vim in emacs.
Andrew Wood
>Why should I use emacs over vim? Here's a few reasons. 1. Evil-mode - the greatest implementation of vi-keys in a foreign editor 2. Emacs Lisp - while not the best lisp, it's still an extremely flexible language 3. Ivy/Helm - think fzf/dmenu but way better 4. Magit - a git interface that's actually worth using 5. Org-mode - the legendary "Outline-based notes management and organizer"
Jordan Rogers
Oh shit this is actually great. Thanks senpai
Kayden James
This doesn't seem to work for scrolling down (C-v) for some reason
Thomas Price
Have you tried killing yourself
Cameron Perry
I would have if it were not for the Emacs doctor. Emacs saved my life
Benjamin Russell
>another shitty general to filter wow
Juan King
M-x customize exists, you can customize emacs without writing (or copying) any elisp.
Julian Clark
Hey fag why don't you fuck off back to plebbit
Thomas Sanchez
How's everyone's RSI?
Grayson Rivera
Are you looking to get into a 1vs1 backyard fight mate
Carson Hill
Just remap your caps lock to work as a control key. It's that simple.
Christopher Peterson
Is it bad to jump into spacemacs never having used regular emacs?
is there a way to get vim's autoindent in emacs, where it just copies the indentation from the previous line?
William Gray
Emacs does that by default - what filetype are you editing?
Aiden Peterson
I want it to do what vim calls "auto indenting," not "smart indenting."
int main() { if (foo) { | |
Nathaniel Bennett
Install retard-mode
Zachary Baker
Mx-bump
Liam Sullivan
ok, thanks. i found a mode that does what i want emacswiki.org/emacs/SmartTabs emacs default electric indentation will sometimes automatically insert tabs when i am trying to align, not indent, which is why i prefer autoindent to smartindent
Adrian Moore
so how does use-package work anyway? does it only run lisp once when you run a mode?
Isaac Stewart
>redditmacs no thanks
Nicholas Reed
:init is run before the package is loaded :config is run after it is loaded(if at all) I honestly just use it for the :ensure binding
Andrew Lopez
why even come into this thread and complain then
Charles Mitchell
spacemacs is a starting point for beginners since it showcases everything emacs can do. But eventually you'll want to start your own config.
Matthew Baker
it's possible (depending on your keyboard style) to hit the ctrl keys with your palm
Angel Ward
Dired+ has a reuse buffers mode. You can also list dirs inside the buffer but i forgot the key