|
@@ -1,62 +1,3 @@
|
|
|
-;; sample use of emacs abbreviation feature
|
|
|
-
|
|
|
-(define-abbrev-table 'global-abbrev-table '(
|
|
|
-
|
|
|
- ;; math/unicode symbols
|
|
|
- ("8in" "∈")
|
|
|
- ("8nin" "∉")
|
|
|
- ("8inf" "∞")
|
|
|
- ("8luv" "♥")
|
|
|
- ("8smly" "☺")
|
|
|
-
|
|
|
- ;; email
|
|
|
- ("8me" "someone@example.com")
|
|
|
-
|
|
|
- ;; computing tech
|
|
|
- ("8wp" "Wikipedia")
|
|
|
- ("8ms" "Microsoft")
|
|
|
- ("8g" "Google")
|
|
|
- ("8it" "IntelliType")
|
|
|
- ("8msw" "Microsoft Windows")
|
|
|
- ("8win" "Windows")
|
|
|
- ("8ie" "Internet Explorer")
|
|
|
- ("8ahk" "AutoHotkey")
|
|
|
-
|
|
|
- ;; normal english words
|
|
|
- ("8alt" "alternative")
|
|
|
- ("8char" "character")
|
|
|
- ("8def" "definition")
|
|
|
- ("8bg" "background")
|
|
|
- ("8kb" "keyboard")
|
|
|
- ("8ex" "example")
|
|
|
- ("8kbd" "keybinding")
|
|
|
- ("8env" "environment")
|
|
|
- ("8var" "variable")
|
|
|
- ("8ev" "environment variable")
|
|
|
- ("8cp" "computer")
|
|
|
-
|
|
|
- ;; signature
|
|
|
- ("8xl" "Xah Lee")
|
|
|
-
|
|
|
- ;; url
|
|
|
- ("8uxl" "http://xahlee.info/")
|
|
|
-
|
|
|
- ;; emacs regex
|
|
|
- ("8d" "\\([0-9]+?\\)")
|
|
|
- ("8str" "\\([^\"]+?\\)\"")
|
|
|
-
|
|
|
- ;; shell commands
|
|
|
- ("8ditto" "ditto -ck --sequesterRsrc --keepParent src dest")
|
|
|
- ("8im" "convert -quality 85% ")
|
|
|
-
|
|
|
- ("8f0" "find . -type f -size 0 -exec rm {} ';'")
|
|
|
- ("8rsync" "rsync -z -r -v -t --exclude=\"*~\" --exclude=\".DS_Store\" --exclude=\".bash_history\" --exclude=\"**/xx_xahlee_info/*\" --exclude=\"*/_curves_robert_yates/*.png\" --exclude=\"logs/*\" --exclude=\"xlogs/*\" --delete --rsh=\"ssh -l xah\" ~/web/ xah@example.com:~/")
|
|
|
- ))
|
|
|
-
|
|
|
-;; stop asking whether to save newly added abbrev when quitting emacs
|
|
|
-(setq save-abbrevs nil)
|
|
|
-;; sample use of emacs abbreviation feature
|
|
|
-
|
|
|
(define-abbrev-table 'global-abbrev-table '(
|
|
|
|
|
|
;; math/unicode symbols
|