Set the macro name to CtrlK, then click Create. The icing on the cake is to get Control-K working. (Word will tell you if any of the shortcuts are currently assigned to other commands.) Find each of the entries in the above list, select the Press new shortcut key box for each, then type the shortcut as shown above and click Assign. From the Categories panel, choose All commands. To set these up in Word, go to Tools » Customize » Customize Keyboard. Microsoft Word doesn't support these by default, but you can add them through customization. I leave up as it doesn't get in the way.Emacs users get addicted to the standard key bindings (which are also available in Cocoa apps). It's great until you have a system of hydras, at which point you won't need it. Which Key opens a frame with next letter options and explanations after you type a letter. posframe ( use-package posframe :config ( require 'posframe) ( setq pos-tip-background-color "#2471A3") ( defvar pos-tip-background-color "#2471A3" "Default background color of pos-tip's tooltip.") pos-tip, scroll over popups with info ( use-package pos-tip :config ( defvar pos-tip-foreground-color "#FFC300" "Default foreground color of pos-tip's tooltip.") customize tooltip background ( set-face-attribute 'tooltip nil :inherit nil :background "gray96") ) end popup tooltip popups on mouse over ( tooltip-mode 1) ( define-key popup-menu-keymap ( kbd "SPC") 'popup-select) ( set-face-attribute 'popup-scroll-bar-background-face nil :inherit nil :background "#2471A3") ( use-package popup :config ( set-face-attribute 'popup-scroll-bar-foreground-face nil :inherit nil :background "#FFC300") Popup and Posframe are standard packages you need to use other packages with popup frames, like hydra. (setq there-is-no-variable-here ) describe personal key bindings ( bind-key "" 'describe-personal-keybindings) Bind New Line Dwim (gets next line bullet, creates new line with it) ( bind-key "" 'new-line-dwim) ( global-set-key 'goto-line-with-feedback) remap go-to-line ( bind-key "M-g" 'goto-line) New Scratch Buffer ( bind-key "C-c b" 'new-frame-scratch-buffer) (bind-key "M-j" append-lines) Bind Kill This Buffer ( bind-key "\C-x\C-k" 'kill-this-buffer) Bind append-lines ( global-set-key ( kbd "M-j") 'append-lines) (bind-key "" super-keymap) Undo Undo Default Binding ( global-unset-key ( kbd "C-_")) set C-m as the prefix-command (note s- is also enabled now so all C-m can be run with s- ( global-set-key ( kbd "") super-keymap) create a prefix command ( define-prefix-command 'super-keymap) translate it as synonymous with key ( define-key key-translation-map ( kbd "") ( kbd "")) Rebind C-m as prefix unest C-m from RET ( define-key input-decode-map ) The 'macs' part is short for 'macro.' Here are a few I use. This post covers lines 664 - 769 Some Key BindingsĮmacs is all about key bindings and shortcuts. In this earlier emacs post I covered lines 534 - 656 of my configuration file. Then read the posts from oldest to newest. In either case, go to the side bar of this page and click on the 'Emacs' tag. You're either new to it - which means you wouldn't be here unless it was your type of thing - or you know what you're looking for. Also, added counsel, ivy, and ivy-rich for exploring various functions and libraries. This frees up memory, by which I mean your memory. Whichkeyĭropped which-key entirely as Poseidon has plenty of hydras, and fewer custom keys. The colors don't really come into play for pos-tip and tool-tip, as company is the main force for that. (pos-tip-w32-max-width-height) (pos-tip-w32-max-width-height t) ) ( setq pos-tip-foreground-color "#FFC300") ( use-package pos-tip :config ( setq pos-tip-background-color "#2471A3")
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |