Skip to content

Commit

Permalink
post: journal entry week starting 29 April 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalli-johnny committed May 3, 2024
1 parent 04ace90 commit 57903cc
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions docs/posts/2024/april/29.md
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}

0 comments on commit 57903cc

Please sign in to comment.