Comments (11)
In my testing the new change seems to solve the problem for helm-minibuffer-history
.
from ctrlf.
It stopped being a problem and I can't recreate it
from ctrlf.
I ran into the same issue, but with counsel-minibuffer-history
. The solution above makes things work for me (using straight):
(use-package ctrlf
:init
(ctrlf-mode +1)
:config
(add-to-list 'ctrlf-minibuffer-bindings '("C-r" . nil)))
from ctrlf.
Should be fixed, please test.
from ctrlf.
Works for me. Thanks!
from ctrlf.
This works for me too. Big thanks! Although I am a bit confused as to why this works, since I thought the changes in bindings for ctrlf--keymap
shouldn’t override the minibuffer bindings inherited from minibuffer-local-map
(where helm-minibuffer-history
is bound to C-r
for me) when I am in a ctrlf-session. There is something that I don’t quite understand about emacs bindings it seems.
from ctrlf.
I thought the changes in bindings for ctrlf--keymap shouldn’t override the minibuffer bindings inherited from minibuffer-local-map
Perhaps it has to do with the fact that ctrlf-mode
is a minor mode, and minor mode keymaps typically override everything else. Otherwise, it wouldn't be possible to enable a minor mode in the minibuffer and have it override minibuffer bindings.
from ctrlf.
Perhaps it has to do with the fact that
ctrlf-mode
is a minor mode, and minor mode keymaps typically override everything else. Otherwise, it wouldn't be possible to enable a minor mode in the minibuffer and have it override minibuffer bindings.
I see!
from ctrlf.
I've come up with a more robust keymapping scheme. It's a bit of a hack but should address the conflicting needs of these various bug reports. My new solution should solve #51, #52, #67, and #80 simultaneously while also working with remap
bindings. I have tested it a bit and it seems to work, but I don't actually use most of the modes that have been mentioned in these issue reports, so I could use some help to confirm if the bug is resolved for all of them.
from ctrlf.
I get the same interference with helm-minibuffer-history
using the latest code, and (add-to-list 'ctrlf-minibuffer-bindings '("C-r" . nil)
disables using C-r to move backwards, as well. Is this known?
from ctrlf.
I don't think so. Can you open a separate issue for that? I just tested by setting
(define-key minibuffer-local-map (kbd "C-r") (lambda () (interactive) (message "Hello world!")))
to emulate what Helm does in binding a key in minibuffer-local-map
, and typing C-r C-r
still has the expected effect.
Notably, running
(add-to-list 'ctrlf-minibuffer-bindings '("C-r" . nil)
as you say you've done should not disable C-r
, as it should result in the [remap isearch-backward]
binding taking precedence instead. Something peculiar must be going on.
from ctrlf.
Related Issues (20)
- Lacks isearch-query-replace HOT 5
- Can it support wgrep in occur mode? HOT 1
- Question: How to add Chinese pinyin support? HOT 1
- Doesn't honor search-invisible HOT 1
- C-g behaves like RET HOT 4
- first character is not deleted HOT 9
- moving the mark back into the main buffer leaves things in a goofy state HOT 4
- Renaming default branch from 'master' to 'main' HOT 1
- C-r wrong HOT 2
- Don't jump to invisible text HOT 1
- Does not open up org mode folded headings HOT 2
- How do I customise `ctrlf-minibuffer-bindings` in my config? HOT 2
- Expose match count/index for modeline segments? HOT 1
- C-s and C-r doesn't always search the next or previous occurrence. HOT 2
- Other messages in minibuffer HOT 5
- Does not work in specific special buffer HOT 1
- Go to next match after "ending" search HOT 5
- No isearch-esque unprettifying while searching HOT 2
- Mention isearch-mb in the readme HOT 1
- isearch-repeat-forward? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ctrlf.