Skip to content

Instantly share code, notes, and snippets.

@lateau
lateau / delete-forward-all.el
Last active December 10, 2015 11:29
delete all characters from current cursor position to beginning-of-line like vim's "C-u"
(defun delete-forward-all ()
(interactive)
(let ((beg (point))) (move-beginning-of-line 1) (delete-region beg (point))))
(global-set-key (kbd "C-u") 'delete-forward-all)
@lateau
lateau / late-night-theme.el
Last active August 11, 2020 05:35
Late Night Theme for Emacs24: Color theme by Alex Schroeder, created 2003-08-07. This theme is for use late at night, with only little light in the room. The goal was to make something as dark and subtle as the text console in its default 80x25 state -- dark grey on black.
;;; late-night-theme.el --- Late Night theme for Emacs 24
;; Author: Alex Schroeder
;; Maintainer: Daehyub Kim <lateau at gmail.com>
;; URL: https://gist.github.com/4420862
;; Version: 0.0
;; Keywords: theme, color
;;; Commentary:
@lateau
lateau / .ctags
Created May 1, 2011 15:43
exburant ctags options for parrot: place at your $HOME
-f tags
-R
--totals
--exclude=.git
--exclude=.gitignore
--exclude=*~
--exclude=*.swp
--langdef=Parrot
--langmap=Parrot:+.pir.pg.pasm.pm
--sort=yes