All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
46 views

AUCTeX no longer using pdf-tools after using :bind and :map from use-package to define keybindings for PDFView mode

I'd like to define a Hydra for PDFView mode and bind a key for it in pdf-view-mode-map. However, it seems that if I try to bind any keys for pdf-view-mode-map using :bind and :map of use-package, ...
1
vote
0answers
35 views

binding a minor mode's function to already defined key in global-map

(use-package anaconda-mode :defer t :config (progn (unbind-key "M-." anaconda-mode-map) (unbind-key "C-_" global-map)) :bind ((:map anaconda-mode-map ("C-_" . anaconda-...
1
vote
2answers
33 views

Unbind CUA <C-return> key only in dired mode

Goal: unbind <C-return> key ONLY in dired mode in order to rebind it to dired-w32explore. My configuration is using use-package with something like this: (use-package dired :init (unbind-...
2
votes
2answers
510 views

use-package :bind not working as expected

I frequently work with R and ess, and want to bind a shortcut to a function that clears the R console: (use-package ess-site :ensure ess :bind (:map inferior-ess-mode-map ("C-c c" . ...
0
votes
0answers
83 views

“No such file or directory, bind-key” after installing use-package [duplicate]

I'm using Emacs on Windows 10. I want to override key bindings, so after reading How to override major mode bindings, I installed use-package with the built-in package manager (via M-x package-install ...
0
votes
1answer
97 views

ztree - use-package key bindings

I tried to set key bindings to ztree (dir and diff), but they are not working after the emacs startup (there is no errors). f8 and C-f8 works but not the navigation keys. Pleas help. When I eval my ...
0
votes
1answer
584 views

Unable to bind SPC as a prefix in general (evil mode)

My setup worked perfectly fine, however I recently reinstalled Emacs and therefore updated all packages as well when starting for the first time. Since then I cant get rid of the warning/error: ...
0
votes
1answer
461 views

How do I bind keys using general.el alongside evil?

My goal is to bind SPC SPC to counsel-M-x. I've tried using this snippet from this post (use-package general :ensure t :config (general-evil-setup t) (general-define-key :states '(normal visual ...
0
votes
1answer
269 views

I cannot type left open bracket into buffer

I have a very weird problem, I cannot type left open bracket character ([) into any buffer. Bracket itself is recognized when I: type anywhere outside emacs type in minibuffer use it as part of ...
1
vote
2answers
203 views

use-package gnus ignores :bind

In my emacs config i wrote: (use-package gnus :bind (("<f12>" . gnus) :map gnus-group-mode-map ("q" . gnus-group-suspend) ("Q" . gnus-group-exit)) :...
0
votes
1answer
95 views

Unbind `M-o` in diff-mode with use-package

I'm trying to unbind M-o in diff-mode with use-package. To do that I've written: (use-package diff :defer t :config (unbind-key "M-o" diff-mode-map)) Restarted Emacs 25, open a diff file, but ...
5
votes
1answer
863 views

Conflict between emmet-mode and yasnippet, same trigger key

I want to have both emmet-mode and yasnippet trigger with the same key C-return: in a html-mode buffer, C-return should first try yas-expand and then emmet-expand-line if no suitable snippet was found....
9
votes
2answers
2k views

Unbinding key using use-package

I'm trying unbind org-cycle-agenda-files which is set by default to C-' and C-,. My weapon of choice to do so is use-package package. On github.com/use-package/bind-key.el page I have found ...
9
votes
4answers
2k views

How to bind your keys to keymaps that aren't loaded yet?

I use use-package to manage installed packages and bind-key to assign actions to custom keys that I like. I override most of the default Emacs keybinding (e.g. C-n becomes M-k, C-p becomes M-i), but ...
3
votes
1answer
235 views

Use normal delete-region with backspace in markdown-mode

I would like to use the "normal" behaviour for <backspace> in markdown-mode. That is, instead of calling markdown-exdent-or-delete, I would like to call cua-delete-region. So I tried this ...
6
votes
2answers
735 views

Bind f-key in use-package

How can I bind an f-key using jwiegley's use-package package? Any of these combinations produces an error: :bind ("f11" . multi-term) :bind (<f11> . multi-term) :bind ([f11] . multi-term) (...