Bash keyboard shortcuts in iTerm like Alt+d and Alt+f [closed]

The Option key (the Mac name for the Alt key) by default has other uses. Press Command+O to open the list of profiles, select Default (I assume that is the profile you are using), and click “Edit Profiles…”. In the resulting window, click on the “Keys” tab, and select “+Esc” for one or both option … Read more

Globally override key binding in Emacs

I use a minor mode for all my “override” key bindings: (defvar my-keys-minor-mode-map (let ((map (make-sparse-keymap))) (define-key map (kbd “C-i”) ‘some-function) map) “my-keys-minor-mode keymap.”) (define-minor-mode my-keys-minor-mode “A minor mode so that my key settings override annoying major modes.” :init-value t :lighter ” my-keys”) (my-keys-minor-mode 1) This has the added benefit of being able to turn … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)