org-view-mode
.emacs.d
org-view-mode | .emacs.d | |
---|---|---|
13 | 55 | |
46 | 24 | |
- | - | |
4.8 | 7.5 | |
2 months ago | 3 months ago | |
Emacs Lisp | Emacs Lisp | |
GNU General Public License v3.0 only | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
org-view-mode
-
Best looking org-modes you ever saw?
See if org-view-mode has something you can (re)use. It is not so much about styling aside from some quotes, and centered headlines, but more about removing unnecessary noise. See if it inspires or helps, it is relatively small and hopefully simple code.
-
Is there a lightweight syntax for writing code blocks in org-mode file?
For the clutter, you can try hiding src blocks or if you prefer hide all markup.
-
What are the kinds of things you've written Emacs Lisp for?
I wrote a little addon to dired to automatically display readme files in directories if there is one. I use it all the time, autoloads with my dired. I also wrote an init file generator and manager that I use every day, as long as some small packages to cleanup org mode noise, summarized in org-view-mode. Generally I use elisp instead of bash to cleanup directories, batch rename files in some special folders according to some specific naming rules etc. I also wrote an elisp script to re-build emacs, lots of other small stuff I haven't published on my github. You can check here some small extras I wrote or adapted from others for my personal use.
-
vanish.el: hide parts of a buffer
If you need some example of using text properties, here is some of my code, not sure if it is very good example, but it is very short and hopefully easy to understand. Here is a bit more elaborated one, and here is a bit of unorthodox usage of Emacs, also using text properties to achieve the effect. I don't recommend anything for "stable" system, beside org-view-mode, rest are just experiments and idea tests.
- Orgmode: Hide leading chars `#+`
-
Org-view-mode with new 'quick-edit' feature is now available from Melpa
For the usage info, check the README file in the Github repository.
-
Display README files in Dired buffer similar as on GitHub/GitLab
I have just reworked dired-auto-readme, fixed some bugs and made it aware of org-view-mode, so now it is possible to see readme files written in org mode without markup in Dired buffers. For example, here is a screenshot of org-tree-slide package by T. Ishikawa, cloned from his GitHub repo.
-
Pretty rendering of paragraphs with org-view mode
My attempt at pretty rendering paragraphs in org-mode: aligned vertically to left, right, middle and displayed with custom fonts.
-
[Pretty paragraph rendering with org-view mode](https://github.com/amno1/org-view-mode/blob/main/images/paragraphs.png)
I have been hacking last weekend on my org-view mode. It can now prettify quotes, verses and centered paragraphs by applying alignment and custom faces. It should now also work in older versions than the current master :).
-
Set initial visibility by tag
You can write your own minor mode, or just simply iterate through all headings with a given tag, and fold it in with-eval-after-load. You can check this code and see if it gives you an idea how to do it. Check part for tags; instead of setting invisible property for tag, you can fold your heading. Also match tags with specific keywords in them, not all tags as I do in regex.
.emacs.d
- .emacs.d/init.org at main · amno1/.emacs.d · GitHub
-
How can I temporarily bypass helm and put free text
In my Helm, I have to actively choose the candidate to confirm it. So I can type in both paths that are shorter or longer then existing ones. I even made a video to demonstrate it, the thread was relatively recently up I think. My Helm setup is here it if helps you, find Helm in the list of packages.
-
cannot create new directory in dired due to autocomplete
I also use Helm, and I have no problems. Just keep typing, once you typed a letter that does not exist in a path name it will stop completing. I don't know if I have some special option enabled/disabled; I don't think you need it, but you can see my Helm config (just scroll down untill you find "Helm").
-
Custom-built Emacs vs Pre-built Emacs benchmarks (v30.0.50) and current Emacs performance on Windows
When all deps are installed,my config is over 200 packages. On my Arch Linux desktop I built in 2016, with i7 4.6k (haswell) it starts ~0.7 secs, but init time will be anything between 0.5 ~ 0.8 secs, i guess depending on what system does. So all things same, init time will vary.
-
org-SUPER-sparse-tree?
I am using it in my literate org-config. If you scroll down, there is a big list of packages, and I have done a small wrapper around helm-imenu, to jump to a package configuration. Looks like this.
-
Is there a package or something for code completion in org mode files for src blocks?
That does not work for completions, at least not for me. It works for keymaps, so you can have mode specific (or really any) keymap in src blocks. I have been using his method myself in my init file generator for quite a while now. If you (or anyone) knows/have an idea how to expand it for completions and eldoc, I would be really happy to hear.
- amno1's Emacs Config
-
ranger.el or dirvish?
I don't know what if it is more robust but I use more or less plain dired with just some options turned on to make it less noisy to look at, but I don't "manage" my files so much to be honest. I do use some extras from dired-hacks, and my own dired-auto-readme, but that is about it. You can check my setup if you wish, look at "dired" under packages and in Lisp folder for "dired-extras.el".
-
Not sure how to integrate autoloads into my Emacs config
I personally put all custom lisp in a special directory and scrape autoloads myself. If you are curious, you can check under "generator", functions generate-autoloads and collect-autoloads, but there is nothing special, just plain text search and copy-paste programmatically. I don't recommend to use it though.
What are some alternatives?
org-modern - :unicorn: Modern Org Style
ranger.el - Bringing the goodness of ranger to dired!
org-project - Capture TODOs for project using org-mode
mpv.el - control mpv for easy note taking
dired-show-readme
icomplete-vertical - Global Emacs minor mode to display icomplete candidates vertically
emacs-format-all-the-code - Auto-format source code in many languages with one command
peep-dired - A convienent way to look up file contents in other window while browsing directory in dired
dired-auto-readme - An Emacs package to automatically display a README file when one is present in a dired buffer.
xah-fly-keys - the most efficient keybinding for emacs
emacs-relocate-docs
expand-region.el - Emacs extension to increase selected region by semantic units.