Skip to content

Instantly share code, notes, and snippets.

@hjertnes
hjertnes / doom.txt
Created April 6, 2018 08:28
Doom Emacs Cheatsheet
SPC
SPC: find file
, switch buffer
. browse files
: MX
; EX
< switch buffer
` eval
u universal arg
x pop up scratch

Style and conventions

This file attempts to outline various naming and structure conventions, that are to be used throughout the project.

General

  • Files end with one newline.
  • Use Tab characters for indentation.
    • If in the indented block there is an empty line, indent it also to the same level as the rest of the block to make it clear where the block starts and ends.
  • Whenever possible, try to keep line lengths around a maximum of 80 chars.
@mrvdb
mrvdb / gist:3111823
Created July 14, 2012 15:25
Automatic asynchronous org-mobile-push in idle time.
;; Show a notification when a push has been completed
(require 'notifications)
(defun notify-push (result)
(notifications-notify
:title "Push complete"
:body (format "Org-mobile-push: %s" result)
)
)
;; Fork the work of pushing to mobile
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 7, 2024 06:03
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname