-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
post: journal entry week starting 29 April 2024
- Loading branch information
1 parent
04ace90
commit 57903cc
Showing
1 changed file
with
64 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
--- | ||
title: Neovim and Sustainability | ||
date: 2024-04-29 | ||
authors: | ||
- practicalli | ||
categories: | ||
- practicalli | ||
tags: | ||
- clojure | ||
--- | ||
|
||
**Thoughts for the week** | ||
|
||
Continuing to simplify the Practicalli AstroNvim User Config, so changes from the AstroNvim template are in new files or in `community.lua`. | ||
|
||
The most visual opinionated changes are in `practicalli.lua`, such as dashboard logo and theme. | ||
|
||
Motivated to work on the [Practicalli Sustainable Life](https://practical.li/sustainable-life) book after joining a sustainability working group at the company. | ||
|
||
<!-- more --> | ||
|
||
## Neovim | ||
|
||
[Practicalli User Config](https://github.com/practicalli/astronvim-user-config) theme changes have been moved from `lua/plugins/astroui.lua` to `practicalli.lua` to minimise changes from the original [AstroNvim template repository](https://github.com/AstroNvim/template/). | ||
|
||
Minimising changes in the AstroNvim template simplifies merging updates from the [AstroNvim template repository](https://github.com/AstroNvim/template/), which are more likely due to AstroNvim 4 release being relatively recent. | ||
|
||
Using separate files where possible also allows everyone to easily customise their experience when using [Practicalli User Config](https://github.com/practicalli/astronvim-user-config). By adding or removing a comment from the `if` statement, the specific configuration file can be included or excluded when Neovim loads the configuration. | ||
|
||
By essentially toggling one line in each file, a very minimal change is made and again makes merging changes between Practicalli configuration and anyone else configure much simpler. | ||
|
||
!!! EXAMPLE "Comment if statement to include the configuration in the file" | ||
```lua | ||
-- if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE | ||
``` | ||
|
||
## Sustainability | ||
|
||
Joined a sustainability group within the company and will be co-chairing the group. | ||
|
||
Making milk from Hemp Seeds today, delicious. Reminds me I should update the [Practicalli Sustainable Life](https://practical.li/sustainable-life/) book to MkDocs and add a lot more content. | ||
|
||
My life is more sustainable that the average persons, although there is always more I can adapt to. | ||
|
||
Joining the group via work I can share my personal experiences with others to inspire them. I also aim to learn more about larger scoped initiatives and how the company can influence our potential partners and customers. | ||
|
||
## Wellbeing | ||
|
||
Exercise through gardening. Digging up weeds in the garden so vegetables can be grown without interference. | ||
|
||
Planning wellness activities for the company off-site. Cycling along the coast on the first day and yoga on the second day. | ||
|
||
|
||
--- | ||
Thank you. | ||
|
||
[:globe_with_meridians: Practical.li Website](https://practical.li){target=_blank .md-button} | ||
|
||
[:fontawesome-brands-github: Practical.li GitHub Org](https://github.com/practicalli){target=_blank .md-button} | ||
[:fontawesome-brands-github: practicalli-johnny profile](https://github.com/practicalli-johnny){target=_blank .md-button} | ||
|
||
[:fontawesome-brands-mastodon: @practicalli@clj.social](https://clj.social/@practicalli){target=_blank .md-button} | ||
[:fontawesome-brands-twitter: @practical_li](https://twitter.com/practcial_li){target=_blank .md-button} | ||
|