This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Modified from https://github.com/alyssais configuration. | |
# | |
# The following configuration heavily leverages modal keymaps to minimize the | |
# pollution of global keybindings. In addition, the modal keymaps facilitate | |
# the consistent use of the same keybindings across different modes. For | |
# example, this configuration uses 'h', 'l', 'j', and 'k' to represent west, | |
# east, south, and north when: changing focus, warping windows, resizing | |
# windows, swapping windows, and moving floating windows. Those four keys are | |
# mapped differently depending on the current mode to provide a consistent user | |
# experience. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[10pt,]{book} | |
\usepackage{listings} | |
\begin{document} | |
Globally initialize some things. Module can depend on this being done. | |
Why can this page not be rendered? What am I doing wrong? | |
\begin{lstlisting} | |
function initialize () | |
require("lib") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function seq.keys(t) | |
assert_arg(1,t,'table') | |
local key,value | |
return function() | |
key,value = next(t,key) | |
return key | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; orbitz Mode | |
;; Need to add the ERC hook in emacs for it to work: | |
;; (add-hook 'erc-send-pre-hook 'erc-maybe-orbitz) | |
(define-minor-mode erc-orbitz-mode | |
"Toggle automatic orbitzing everything you type in ERC." | |
nil " orbitz") | |
(defun erc-maybe-orbitz (ignore) | |
"Change the text to orbitz text, if `erc-orbitz-mode' is non-nil." |