Tag: emacs
This video is all about using incremental search to navigate through your emacs buffers.
You can use the default incremental searchb, bound to C-s for isearch-forward C-r to search backwards (reverse).
They work really well as is but I prefer using Swiper. The video demos both and the Swiper home page has loads of details.
Part of the Swiper package includes ivy and counsel which I use instead of ido.
# COMMENTSSorry for the delay in getting this next video / post up. I spent the last part of last week at The Personal Democracy Forum 2016 which is really an exceptional conference.
I posted a bit about it in my last post and plan to write some more on it, but for now, more Emacs.
This video concerns using windows. By using buffers and windows and the basics you got from the tutorial, you shouldn't have to ever leave emacs.
# COMMENTSMany people think of Emacs as an editor. I like to think of it as an Elisp interpreter where you live code documents.
In some ways, it's like those new fangled interactive programming environments where you type in code and the updates are reflected instantly.
In this video, I try to explain the way I think about Emacs and why it's so cool.
The only change we made to our configuration was adding:
# COMMENTSNow that we're past the intro material, we'll start looking at emacs features one at a time. This will let you focus on using the one feature we're covering, fit it into your work flow, and really get comfortable with it.
This time we'll dive into using Emacs effectively with buffers.
Watch the video and then make a real effort to use buffers over the next few emacs sessions. Before you know it, they'll be a natural part of your work flow.
# COMMENTSThis video is a brief introduction to org-mode, a mode I use for all sorts of things.
We'll dive into org-mode later in the series. Right now I just want you to see the basics since we'll be using org-mode for any notes that are written up during this series.
Actually, all my blog posts are written in org-mode.
Here are the important lines to add to your Emacs init.
# COMMENTSI'm sure I've mentioned that I've been an Emacs wonk for decades. Since the mid-80's in fact. I've spent time using other editors, word processors, and development tools but always find my way back.
I recommend that budding computer science students develop a good tool set and encourage them to explore Emacs but while it's pretty easy to load Emacs and find your way around, particularly if you use the mouse and menus there isn't a clear path to take you from beginner to using it as an efficient tool let alone customizing it.
# COMMENTSThis video will step you through setting up Emacs to use MELPA for packages.
We configured emacs by creating a folder named .emacs.d and creating a file within it named init.el.
Here's the contents of that file:
(setq inhibit-startup-message t) (require 'package) (setq package-enable-at-startup nil) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (package-initialize) ;; Bootstrap `use-package' (unless (package-installed-p 'use-package) (package-refresh-contents) (package-install 'use-package)) (use-package try :ensure t) (use-package which-key :ensure t :config (which-key-mode)) The last two inituse-package clauses install two helpful packages:
# COMMENTSA good workman is known by his tools, or so the saying goes. My tools of choice are my terminal shell and Emacs. I suppose if I was a full time developer working with a limited set of tools I might like an IDE like JetBrains or Eclipse but no matter how many alternatives I try, I always end back in Emacs. I recommend that my students spend time not only in Emacs but also in tools like Vim or Sublime Text.
# COMMENTS