Skip to content

Instantly share code, notes, and snippets.

View jeffkreeftmeijer's full-sized avatar
🦞

Jeff Kreeftmeijer jeffkreeftmeijer

🦞
View GitHub Profile

Manage user environments with Nix and Home Manager

Nix is a functional package manager for Linux and macOS which helps build reproducable setups.

@jeffkreeftmeijer
jeffkreeftmeijer / .envrc
Last active April 29, 2024 19:14
htmlize-stylesheet
use flake .

Run Git commands from outside a repository directory

There are multiple options to run a Git command from outside of a repository directory[fn:todo]. From least to most flexible, these are the --git-dir -C and --work-tree options.

“Fix” the tab key for visibility cycling in Org and Evil mode

Build Terminal Emacs from source on macOS

I’m currently running Emacs 29 on macOS’s Terminal.app, built from source without a window system.

linguist.el: A language modes pack for Emacs

Linguist is a language modes pack for Emacs, inspired by vim-polyglot.

;; Disable package.el in favor of straight.el
(setq package-enable-at-startup nil)

Hiding blank lines while collapsing Org document sections in Emacs

The org-cycle-separator-lines variable determines hwo Org hides trailing lines when collapsing document sections. It’s options are confusing at first glance, as it takes either a positive or negative number, but should make more sense with some examples.

@jeffkreeftmeijer
jeffkreeftmeijer / 1.png
Last active November 3, 2023 00:56
Ruby image diff
1.png
" Vim color scheme
"
" Name: railscat.vim
" Maintainer: Jeff Kreeftmeijer
" License: public domain
"
" A GUI only extended version of the Railscasts+ theme, that comes with
" Janus [1] and is, in turn, an extension to the original Railscasts theme
" [2], which is a port of the RailsCasts TextMate theme [3] to Vim.
"