Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.
/ nhannht-dot-files Public archive

My dotfiles are managed in a single Org file, which is a powerful tool for literate programming. This methodology allows me to easily maintain and organize my configuration, as I can document my decisions and the rationale behind them within the Org file.

Notifications You must be signed in to change notification settings

nhannht/nhannht-dot-files

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

One dot file rule ‘em all’

Emacs takes text editing to a whole new level. It is not just a text editor, but also a comprehensive application framework, providing a robust and multifunctional front-end for Linux systems. With its unique features and capabilities, Emacs is capable of doing things beyond what we could have even imagined when it was originally created. From editing text and creating scripts to managing files and controlling applications, Emacs is an all-in-one solution for any Linux user. With its incredible power and flexibility, Emacs has become an essential tool for many developers and system administrators all over the world.

In this repository, I take the idea of using a single org file to manage my entire dotfiles in my Linux system. This is based on the tangle and export features of org-mode, a powerful tool for organizing information. With the help of this org file, I will be able to efficiently manage my Emacs configuration, as well as the configuration of a variety of other tools such as Bash, Zsh, Fish, Tmux, i3, NeoVim, Kitty, Xonsh, Vifm, Newsboat, Go, Makefile, and more. This org file provides me with an easy way to keep track of all the settings and configurations for my various tools, and to quickly make any changes I need. As a result, I can stay organized and work more efficiently.

“Tangle” means that export from the org-file source block to the source file which computer can understand. And in contrast, “weave” is what we do when we write a mix of document and code block in org. Emacs Org system goes beyond the normal level that we usually meet in another mark-up language; it is not just used to write markup. Its perfect data structure makes it perfectly sync back and forth, so that source code stays in block in the Org file with the external environment.

Emacs and Literate Programming

flowchart LR
A[Emacs User] --- |edit| B[Literature Document]
B --> |tangle| C[Source Code]
C --> |Weave| B
C --> |Compile|D[Executable]
D -->E[Machine]

Show cases

The editting project of this file. Thank for the help of org-sidebar

images/My_dots_files/_20230107_130230screenshot.png

The start board of Emacs

images/My_dots_files/_20230107_173344screenshot.png

About

My dotfiles are managed in a single Org file, which is a powerful tool for literate programming. This methodology allows me to easily maintain and organize my configuration, as I can document my decisions and the rationale behind them within the Org file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages