Compare commits

...

3 Commits

Author SHA1 Message Date
Marty Oehme 893c177358
git: Replace dsf with git-delta
Diff-so-fancy is pretty good but delta just looks soo buttery smooth.
2023-10-02 20:19:00 +02:00
Marty Oehme 9040585fea
papis: Add new libraries 2023-10-02 20:08:02 +02:00
Marty Oehme 444676caac
nvim: Add markmap to build mindmaps
Added markmap plugin to make mindmaps from markdown. Uses
headings for leaves, and works pretty automatically.
Testing its functionality longer-term for now.
2023-10-02 20:06:56 +02:00
5 changed files with 48 additions and 17 deletions

View File

@ -52,7 +52,6 @@ dconf-editor GSettings editor for GNOME R
dell-command-configure Configure various BIOS features on Dell laptops A
devour Window Manager agnostic swallowing feature for terminal emulators A
dhcpcd RFC2131 compliant DHCP client daemon R
diff-so-fancy Good-looking diffs with diff-highlight and more R
distrobox Use any linux distribution inside your terminal. A
dnsmasq Lightweight, easy to configure DNS forwarder and DHCP server R
docker Pack, ship and run any application as a lightweight container R
@ -80,6 +79,7 @@ fzf-tab-bin-git Replace zsh's default completion selection menu with fzf (git ve
gallery-dl Command-line program to download image-galleries and collections from several image hosting sites A
gamemode A daemon/lib combo that allows games to request a set of optimisations be temporarily applied to the host OS R
gimp GNU Image Manipulation Program R
git-delta Syntax-highlighting pager for git and diff output R
git-lfs Git extension for versioning large files R
gitlint Git commit message linter A
gitui Blazing fast terminal-ui for git written in Rust R

Can't render this file because it has a wrong number of fields in line 29.

View File

@ -5,7 +5,6 @@ blueberry Bluetooth configuration tool R
dotter-rs-bin A dotfile manager and templater written in Rust A
eza A modern replacement for ls (community fork of exa) R
feishin-appimage A modern self-hosted music player. A
git-delta Syntax-highlighting pager for git and diff output R
khal CLI calendar application built around CalDAV R
m4b-tool-bin A command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b A
nodejs-markmap-cli Create markmaps (mindmaps from markdown) from CLI A

1 Name Description Source Target
5 dotter-rs-bin A dotfile manager and templater written in Rust A
6 eza A modern replacement for ls (community fork of exa) R
7 feishin-appimage A modern self-hosted music player. A
git-delta Syntax-highlighting pager for git and diff output R
8 khal CLI calendar application built around CalDAV R
9 m4b-tool-bin A command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b A
10 nodejs-markmap-cli Create markmaps (mindmaps from markdown) from CLI A

View File

@ -4,6 +4,16 @@
signingkey = 73BA40D5AFAF49C9
[init]
defaultBranch = main
[core]
pager = delta
[interactive]
diffFilter = delta --color-only
[merge]
conflictstyle = diff3
[delta]
navigate = true
line-numbers = true
syntax-theme = base16
[sendemail]
smtpserver = "/usr/bin/msmtp"
annotate = yes
@ -21,8 +31,6 @@
rebase = true # always rebase on pulling, obviates merge commits
[diff]
colorMoved = zebra # also color stuff that has simply been moved, in a classy zebra-color
[pager]
diff = dsf | less --tabs=4 -RFXS --pattern '(^(Date|added|deleted|modified): |^diff --git )'
[color.diff]
meta = "9"
frag = "magenta bold"

View File

@ -1,6 +1,6 @@
local writing_ft = { "quarto", "pandoc", "markdown", "text", "tex" }
return {
local prose_plugs = {
-- UI improvements
-- provide distraction free writing
{ "folke/zen-mode.nvim", config = true, event = "VeryLazy" },
@ -12,10 +12,10 @@ return {
require("wrapping").setup({
create_keymappings = false,
notify_on_switch = false,
softener = { markdown = true, text = true, asciidoc = true }
softener = { markdown = true, text = true, asciidoc = true },
})
end,
lazy = false
lazy = false,
},
-- displays prettier headlines mimicking the ones in emacs orgmode
{
@ -60,14 +60,29 @@ return {
-- syntax highlighting for markdown criticmarkup (comments, additions, ...)
{ "vim-pandoc/vim-criticmarkup", ft = writing_ft },
-- inline display of latex formulas
-- TODO always demands latex treesitter to be installed even if it is
-- TODO always turns softwrapped lines off on exiting insert mode
--{
--"jbyuki/nabla.nvim",
--ft = writing_ft,
--config = function()
--require("nabla").enable_virt({ autogen = true, silent = true })
--end,
--},
-- create mindmaps from your markdown
{
"Zeioth/markmap.nvim",
cmd = { "MarkmapOpen", "MarkmapSave", "MarkmapWatch", "MarkmapWatchStop" },
config = true,
},
-- cite as you write from papis databases
-- ADDITIONAL DEPENDENCIES: papis and yq in shell env
-- {
-- "jghauser/papis.nvim",
-- cond = vim.fn.executable("papis") == 1 and vim.fn.executable("yq") == 1,
-- ft = writing_ft,
-- dependencies = {
-- "kkharji/sqlite.lua",
-- "nvim-lua/plenary.nvim",
-- "MunifTanjim/nui.nvim",
-- "nvim-treesitter/nvim-treesitter",
-- },
-- lazy = false,
-- config = true,
-- }
}
return prose_plugs

View File

@ -46,6 +46,15 @@ dir = ~/documents/library/cs
[ee]
dir = ~/documents/library/ee
[litrev-rahman]
dir = ~/documents/library/litrev-rahman
[ilo]
dir = ~/documents/library/ilo-wow
[plugins.extract]
tags = {"red": "important", "green": "extra", "blue": "toread"}
[plugins.bbt-formatter]
full-year = True
title-words = 2