Comments (7)
I think this is because the file that is selected is actually ./
. It is highlighted in your screenshot. If you try M-p
at the prompt to highlight the modeline instead, does this work?
I use Vertico, but it does not automatically select the first candidate on my side for denote-rename-file
. If you try (setq vertico-preselect 'prompt)
, does it solve your issue? I don't have ./
and ../
as candidates. Maybe you can find a way to not have them as candidates?
(I assumed you used Vertico.)
from denote.
At the prompt, if you hit RET (without typing anything), the current file will be selected for renaming. This default is indicated between square brackets in the prompt.
from denote.
Hello @Nebucatnetzer! It is as @jeanphilippegg suggested. Perhaps we can make this use-case more obvious or, somehow, more direct. I am open to ideas.
from denote.
Ah good to know that it should already work.
It shows the filename in brackets but when I press enter I get the following error message: denote--rename-dired-file-or-prompt: Only rename regular files
I've attached a screenshot of the action.
from denote.
M-p
doesn’t work it just cycles through the files in the directory.
I’m currently using counsel/ivy but your suggestion showed me that I need to have a look at the Ivy manual :).
I close the issue for the moment because it’s more likely to be a problem with my setup.
from denote.
from denote.
You were absolutely right the M-p
is the correct key combination.
I confused it with C-p
🤦♂️
Signature
(ivy-next-history-element ARG)
Documentation
Forward to next-history-element with ARG.
from denote.
Related Issues (20)
- Prevent newline between front matter and templates HOT 2
- question: why IDENTIFIER and not ID HOT 2
- New fontification is not limited to Denote files HOT 3
- Identifier showing up in keyword section when creating/renaming denote files HOT 2
- Ignored Files Regexp HOT 9
- Denote disappears after doom emacs is restarted HOT 2
- Dynamic block is not working HOT 3
- Nested dynamic blocks breaks the update functionality HOT 4
- denote-journal-extras-new-or-existing-entry creates new file every time HOT 9
- Merging 2 notes into 1 HOT 3
- denote-file-prompt shouldn't match archive files ? HOT 3
- denote-add-links doesn't use titles as descriptions inside silos HOT 9
- Denote seems to interfere with magit on Emacs 29.3 HOT 2
- Show entries in Calendar HOT 1
- Rename existing files after changes to denote-file-name-components-order? HOT 3
- markdown links in org files are opened in an external app HOT 4
- `denote-rename-buffer-mode` breaks Org capture detection HOT 6
- Support using functions in `denote-templates` HOT 4
- Title as first element causes shell problems due to leading `--` HOT 6
- Proposal: add frontmatter normalization functions HOT 2
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 denote.