Comments (6)
Thanks for this suggestion. I can see your point, however, it's not clear that this should be the default behavior. Certainly not when one might have several windows open at once.
Given your workflow, when you're ready to open a file taking up the full frame you currently have two options (and both are short):
- C-o, C-x 0
- RET, C-x 1
from deft.
Yes. I do know how to delete-other-windows
. But an option or function to do this automatically would be nice.
I know how to bind a key to do RET
and C-x 1
together, but do not know how to just close the window deft created. Do you think it possible?
from deft.
Maybe (delete-window (other-window 1))
?
from deft.
Now I realize that a better option may be to use something like other-window-scroll-buffer
to show a file in another window (I know little about lisp, but company-mode
has a function company-show-doc-buffer
that does this). Currently, deft-open-file-other-window
seems to occupy one of the windows (and will not revert back to the original buffer when it is done).
What do you think?
from deft.
Hmm, I take that back. I guess one better behavior of deft-open-file-other-window
could be to create a new window rather than to occupy an existing window, or probably a new function like deft-open-file-new-window
?
from deft.
I'm closing this for now because I'm not sure what to do about this, if anything. If anyone would like to discuss specific ways to improve window handling with respect to C-o and RET while browsing files, feel free to comment here or submit a pull request.
from deft.
Related Issues (20)
- Deft hangs on emacs 28 HOT 12
- Right to left text in file causes wrong alignment of date and time stamp in Deft file browser.
- Second search can not jump to accurate position
- Support custom filters? HOT 1
- How to make the title and content not on the same line๏ผ HOT 2
- How to make deft work with files without file extension?
- docu for `deft-file-naming-rules` missing HOT 1
- How to use `deft-file-naming-rules` with `usepackage` HOT 1
- Display file at point when using deft-find-file HOT 1
- Adding optional Xapian support HOT 12
- Incongruity between default file type and default summary generation
- Super slow
- Fix to make deft faster (also on older emacsen) HOT 3
- deft-file-mtime: Wrong type argument
- Default directory for new files
- message Package cl is deprecated HOT 1
- Emoji in org-mode files causing Deft summary lines to bleed over into next line
- Org-rifle vs deft HOT 1
- creating new files with Deft using prompt for title HOT 4
- deft-find-file: how to disable defaulting to "find-file" and instead use deft-new-file-format
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 deft.