Skip to content

Instantly share code, notes, and snippets.

@jdtsmith
jdtsmith / custom-buffer-local-keys.el
Last active July 11, 2024 23:23
custom-buffer-local-keys
;; JD Smith 2024, based on https://www.emacswiki.org/emacs/BufferLocalKeys
(defvar-local custom-buffer-local-keys nil
"Key-bindings to be set up local to the current buffer.
A single (KEY . BINDING) cons or list of such conses, of the form
`bind-keys' accepts. Set this as a file-local variable to make
bindings local to that buffer only.")
;; Only include this if you trust the files you open
(put 'custom-buffer-local-keys 'safe-local-variable 'consp)
@mohanpedala
mohanpedala / bash_strict_mode.md
Last active July 29, 2024 09:09
set -e, -u, -o, -x pipefail explanation
@not-fl3
not-fl3 / xmonad.md
Last active October 19, 2022 20:47

I used ion3 and later notion for a while and got used with its tiling style. It looked like this:

ion3

Idea is pretty simple - by default all new windows is adding to current frame as a tab. And current frame may be splitted horisontal/vertical. The Ion3's tiling is static - frames stays splitted even after window is closed. You can think about it as emacs's windows(ion's frame) and buffers(X's window). You can split window whatever you like and put any buffer to any window.

Ion3 was abandoned since 2009 and its successor "notion" did not change it much. My configs from 2008 still works pretty fine :)

I was always intrested in Xmonad project. First of all Xmonad's with Xmobar default theme looks pretty cool and its enough for me to check it. I tried Xmonad (and actually most of the other tiling WMs) many times, but always got back to notion. At this time I decided to take ion's tiling style with me to XMonad.

@pascalpoitras
pascalpoitras / config.md
Last active July 18, 2024 22:34
My WeeChat configuration

WeeChat Screenshot

Mouse


enable


@redinger
redinger / Emacs.md
Created November 26, 2011 03:22
Setting up Emacs daemon on OS X

Setting up Emacs daemon on OS X

Tired of waiting for emacs to start on OS X? This step by step guide will teach you how to install the latest version of emacs and configure it to start in the background (daemon mode) and use emacsclient as your main editor.

Install Cocoa Emacs

Download the latest pretest version of [Emacs for Mac OS X]: http://emacsformacosx.com/builds