-
Here I state the case for native support for relative visual line numbers
-
Screenshot:
This file contains hidden or 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
| " replace 'function' with λ | |
| au BufNewFile,BufRead *.js syntax keyword javasScriptFunction function conceal cchar=λ | |
| au BufNewFile,BufRead *.js hi! link javasScriptFunction Conceal | |
| au BufNewFile,BufRead *.js setlocal conceallevel=2 | |
| " add abbreviations for JS | |
| " f_ | |
| " expands to | |
| " function() { | |
| " <cursor> | |
| " |
This file contains hidden or 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
| (defun workflowy-to-org-mode () | |
| (interactive) | |
| (let (count) | |
| (while (not (eobp)) | |
| (setq count 0) | |
| (while (looking-at " ") | |
| (setq count (1+ count)) | |
| (forward-char 1)) | |
| (forward-char 1) | |
| (delete-region (point-at-bol) (point)) |
This file contains hidden or 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
| alias cd="pushd $@ > /dev/null" |
Created from the plain text reference card on orgmode.org Download this file, and open it in Emacs org-mode!
This file contains hidden or 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
| (evil-define-state god | |
| "God state." | |
| :tag " <G> " | |
| :message "-- GOD MODE --" | |
| :entry-hook (evil-god-start-hook) | |
| :exit-hook (evil-god-stop-hook) | |
| :input-method t | |
| :intercept-esc nil) | |
| (defun evil-god-start-hook () |
This file contains hidden or 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
| --- Actions --- | |
| $Copy <M-C> | |
| $Cut <M-X> <S-Del> | |
| $Delete <Del> <BS> <M-BS> | |
| $LRU | |
| $Paste <M-V> | |
| $Redo <M-S-Z> <A-S-BS> | |
| $SearchWeb <A-S-G> | |
| $SelectAll <M-A> | |
| $Undo <M-Z> |
This file contains hidden or 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
| (require 'package) | |
| (setq package-enable-at-startup nil) | |
| (setq package-archives '(("melpa" . "~/.emacs.d/mirror-elpa/melpa/") | |
| ("org" . "~/.emacs.d/mirror-elpa/org/") | |
| ("gnu" . "~/.emacs.d/mirror-elpa/gnu/"))) | |
| (package-initialize) | |
| ;; Bootstrap John Wigley's `use-package' | |
| (unless (package-installed-p 'use-package) |
This file contains hidden or 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
| ## Colours and font styles | |
| ## Syntax: echo -e "${FOREGROUND_COLOUR}${BACKGROUND_COLOUR}${STYLE}Hello world!${RESET_ALL}" | |
| # Escape sequence and resets | |
| ESC_SEQ="\x1b[" | |
| RESET_ALL="${ESC_SEQ}0m" | |
| RESET_BOLD="${ESC_SEQ}21m" | |
| RESET_UL="${ESC_SEQ}24m" | |
| # Foreground colours |
React Fiber is an ongoing reimplementation of React's core algorithm. It is the culmination of over two years of research by the React team.
