Skip to content

Instantly share code, notes, and snippets.

@vakili
vakili / spacemacs-to-doom-migration.org
Last active May 4, 2021 10:09
Spacemacs to Doom migration notes

Spacemacs to Doom migration notes

  • M x: (spacemacs: SPC SPC) replaced by SPC :.
  • Terminology: layers in spacemacs are called modules in doom.
  • Vim surround: (e.g. s)) d oes not work by default. See https://teddit.net/r/emacs/comments/e72m9j/evilsurround_shortcuts_in_doom_coming_from/ (But note: maybe use evil-embrace instead.)
  • Zoom: transient state (spacemacs: SPC z x) replaced by C + and C -.
  • Open scratch buffer: (spacemacs: SPC b s) replaced by SPC b x or SPC x for a minimized version, and SPC b X for full window.
  • Describe key: (spacemacs: SPC h d k) replaced by SPC h k.
  • SPC SPC now does projectile-find-file.
  • Alt-tabbing between buffers (spacemacs: SPC Tab) is not bound (?). I now use :bn and :bp.
@mpasternacki
mpasternacki / freebsd_on_mbp.md
Created January 23, 2015 17:12
FreeBSD on a MacBook Pro

FreeBSD on a MacBook Pro

Since 2008 or 2009 I work on Apple hardware and OS: back then I grew tired of Linux desktop (which is going to be MASSIVE NEXT YEAR, at least since 2001), and switched to something that Just Works. Six years later, it less and less Just Works, started turning into spyware and nagware, and doesn't need much less maintenance than Linux desktop — at least for my work, which is system administration and software development, probably it is better for the mythical End User person. Work needed to get software I need running is not less obscure than work I'd need to do on Linux or othe Unix-like system. I am finding myself turning away from GUI programs that I used to appreciate, and most of the time I use OSX to just run a terminal, Firefox, and Emacs. GUI that used to be nice and unintrusive, got annoying. Either I came full circle in the last 15 years of my computer usage, or the OSX experience degraded in last 5 years. Again, this is from a sysadmin/developer ki

@rakhmad
rakhmad / clojure.md
Created April 17, 2012 15:55
Setting Up Clojure on OS X

Setting Up Clojure on OS X

I spent a lot of time trying to find a pretty optimal (for me) setup for Clojure… at the same time I was trying to dive in and learn it. This is never optimal; you shouldn't be fighting the environment while trying to learn something.

I feel like I went through a lot of pain searching Google, StackOverflow, blogs, and other sites for random tidbits of information and instructions.

This is a comprehensive "what I learned and what I ended up doing" that will hopefully be of use to others and act as a journal for myself if I ever have to do it again. I want to be very step-by-step and explain what's happening (and why) at each step.

Step 1: Getting Clojure (1.3)

@kmiyashiro
kmiyashiro / layout2.jade
Created August 11, 2011 18:50 — forked from monokrome/layout2.jade
HTML5 Boilerplate Conditional comments in Jade
!!! 5
//if lt IE 7
html(class="no-js ie6 oldie", lang="en")
//if IE 7
html(class="no-js ie7 oldie", lang="en")
//if IE 8
html(class="no-js ie8 oldie", lang="en")
// [if gt IE 8] <!
html(class="no-js", lang="en")
// <![endif]