:commands (bing-dict-brief))
#+END_SRC
-* NEXT Key Bindings
+* Key Bindings
Here are some global key bindings for basic editting
** Esc in minibuffer
Use =ESC= to exit minibuffer. Also I map =Super-h= the same as =C-g=
(insert (format "%s" (with-ivy-window (thing-at-point 'symbol)))))))
#+END_SRC
+** TODO Expand region map
+#+BEGIN_SRC emacs-lisp :tangle yes :results silent
+ (defhydra sd/expand-selected (:color red :columns nil
+ :post (deactivate-mark))
+ "Selected"
+ ;; select
+ ("e" er/expand-region "+")
+ ("c" er/contract-region "-")
+ ;; ("\"" er/mark-inside-quotes "inside \"")
+ ;; ("a\"" er/mark-outside-quotes "inside \"")
+ ;; exchange
+ ("x" exchange-point-and-mark "exchange")
+ ("o" exchange-point-and-mark "exchange")
+ ;; exit
+ ("d" kill-region "delete" :exit t)
+ ("i" kill-region "delete" :exit t)
+ ("y" kill-ring-save "yank" :exit t)
+ ("q" nil "quit" :exit t))
+
+ (global-set-key (kbd "C-=") (lambda ()
+ (interactive)
+ (er/mark-word)
+ (sd/expand-selected/body)))
+
+ ;; er/mark-word
+ ;; er/mark-symbol
+ ;; er/mark-symbol-with-prefix
+ ;; er/mark-next-accessor
+ ;; er/mark-method-call
+ ;; er/mark-inside-quotes
+ ;; er/mark-outside-quotes
+ ;; er/mark-inside-pairs
+ ;; er/mark-outside-pairs
+ ;; er/mark-comment
+ ;; er/mark-url
+ ;; er/mark-email
+ ;; er/mark-defun
+#+END_SRC
+
* TODO Convert ASCII to key
** map =function-key-map= [[http://academic.evergreen.edu/projects/biophysics/technotes/program/ascii_ctrl.htm][ascii_ctrl]]
new file =C-x C-f C-f=
#+END_SRC
* TODO ibuffer hydra
-* TODO expand region action, selected mode map