1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-07 00:05:10 +01:00

32 Commits

Author SHA1 Message Date
bbf4df0206 Use unique tmpdir 2025-11-18 10:30:46 +01:00
48f981edce 20251008: marksman Markdown organising 2025-10-13 21:02:54 +02:00
a39cd6de00 Word, a bad one 2025-10-12 22:19:48 +02:00
680bf0196b Italics are neat 2025-09-29 15:04:23 +02:00
796ffd9e34 Toggle casing 2025-09-29 14:56:19 +02:00
38751d075b Modified Argonaut theme with black background 2025-09-25 20:20:23 +02:00
034cbcfa90 New font, based on IBM Plex Mono 2025-09-22 20:29:50 +02:00
4da67fcef8 Zed editor/IDE configs 2025-09-21 21:07:57 +02:00
03ccf57b6e Starship prompt has a TOML config file, not yaml 2025-09-19 11:44:13 +02:00
c2c06a46e4 Typofix 2025-09-18 22:19:31 +02:00
331fc82c1a Words 2025-09-06 11:49:13 +02:00
5ad43aa897 20250425: use vimdiff with merge conflicts; default git branch is 'main' 2025-05-13 13:39:24 +02:00
0f04e1831a Discord updating 2025-04-23 20:41:49 +02:00
b129c79a37 Merge branch 'master' of github.com:aquatix/dotfiles 2025-04-21 12:04:54 +02:00
8f0eac7701 20250107: Pratchett! 2025-04-21 12:04:35 +02:00
938119d6ea Merge branch 'master' of github.com:aquatix/dotfiles 2025-04-02 17:20:57 +02:00
c394e8be26 20250214: Argonaut terminal theme from Gogh 2025-04-02 17:20:53 +02:00
75666f9add Automatically install starship config when wanted 2025-04-01 16:13:08 +02:00
cd550ea3fe direnv is used by the fish configuration 2025-04-01 16:12:54 +02:00
7837b80d3b Merge branch 'master' of github.com:aquatix/dotfiles 2025-03-20 13:25:37 +01:00
3c9b12b400 20250304: word 2025-03-20 13:25:14 +01:00
37e92734d7 Words 2025-03-16 18:53:06 +01:00
436a28f702 More dependencies/good stuff 2025-02-11 18:04:53 +01:00
739ab149c5 Local binaries, like uv 2025-02-11 18:04:01 +01:00
c0ba50cf35 Packages 2025-02-10 17:06:31 +01:00
640ba449fb YouCompleteMe legacy branches for older vim versions 2025-01-26 13:55:48 +01:00
df063d1f1a 2025 2025-01-06 15:27:28 +01:00
a969661555 20241208: words 2025-01-05 22:10:05 +01:00
06e3fbc42b Good word 2024-10-19 22:55:37 +02:00
b2046f2df3 Do not conceal quotes and such 2024-09-03 14:00:12 +02:00
0306806186 Words 2024-07-21 12:33:47 +02:00
c231bd9f81 20240414: activate direnv 2024-06-12 09:09:54 +02:00
14 changed files with 148 additions and 7 deletions

View File

@@ -220,3 +220,5 @@ export QT_AUTO_SCREEN_SCALE_FACTOR=1
[ -f ~/.fzf.bash ] && source ~/.fzf.bash
[ -f ~/.cargo/env ] && . "$HOME/.cargo/env"
[ -f ~/.local/bin/env ] && . "$HOME/.local/bin/env"

View File

@@ -169,3 +169,6 @@ end
# Initialise starship theme
# curl -sS https://starship.rs/install.sh|sh
starship init fish | source
# https://direnv.net/
direnv hook fish | source

25
.config/zed/settings.json Normal file
View File

@@ -0,0 +1,25 @@
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p)
{
"vim_mode": true,
"icon_theme": "Material Icon Theme",
"base_keymap": "JetBrains",
"ui_font_size": 16,
"buffer_font_size": 15,
"terminal": {
"font_family": "MonaspiceNe Nerd Font Mono",
"font_size": 15,
"line_height": "standard"
},
"theme": {
"mode": "dark",
"light": "One Light",
"dark": "Zedokai Darker"
}
}

View File

@@ -78,3 +78,7 @@
# postBuffer = 1048576000
# lowSpeedLimit = 0
# lowSpeedTime = 999999
[init]
defaultBranch = main
[merge]
tool = vimdiff

View File

@@ -0,0 +1,25 @@
[Palette]
Name=Diginaut
Background=#000000
Foreground=#FFFAF4
Cursor=#FFFAF4
Color0=#232323
Color1=#FF000F
Color2=#8CE10B
Color3=#FFB900
Color4=#008DF8
Color5=#6D43A6
Color6=#00D8EB
Color7=#FFFFFF
Color8=#444444
Color9=#FF2740
Color10=#ABE15B
Color11=#FFD242
Color12=#0092FF
Color13=#9A5FEB
Color14=#67FFF0
Color15=#FFFFFF
# This file was generated from https://github.com/Gogh-Co/Gogh/tree/master/themes/Argonaut.yml
# Modified by aquatix/diginaut

View File

@@ -15,3 +15,8 @@ backend
dammIT
isso
diginaut
Pratchett
jailbreaking
plugin
Readeck
enshittification

View File

@@ -245,3 +245,13 @@ WTF
syncthing
Madurodam
fietsrit
multifactorauthenticatie
SSO-gebruikers
hacktop
computerwerk
labwerk
PowerPoint
Kubuntu
Ichthus
Castor
JungleTrain

View File

@@ -51,16 +51,16 @@ highlight scratchThis ctermfg=Grey guifg=#666666
" Task statuses
syntax match todoNote "\v^\s{-}n .*$" nextgroup=todoNote
syntax match todoNote "\v^ .*$" nextgroup=todoNote
highlight todoNote ctermfg=Grey guifg=#666666
highlight todoNote ctermfg=Grey guifg=#666666 cterm=italic
syntax match todoStatusDone "\v^\s{-}v " nextgroup=todoItem skipwhite
highlight todoStatusDone ctermfg=green guifg=#00ff00
syntax match todoStatusCancelled "\v^\s{-}x .*$" nextgroup=todoItem skipwhite
highlight todoStatusCancelled ctermfg=DarkGreen guifg=#005f00
highlight todoStatusCancelled ctermfg=DarkGreen guifg=#005f00 cterm=italic
syntax match todoStatusDoing "\v^\s{-}d .*$" nextgroup=todoItem skipwhite
highlight todoStatusDoing ctermfg=223 guifg=#f0dfaf
highlight todoStatusDoing ctermfg=223 guifg=#f0dfaf cterm=italic
syntax match todoStatusTest "\v^\s{-}t " nextgroup=todoItem skipwhite
highlight todoStatusTest ctermfg=darkcyan guifg=#6666ff
@@ -70,7 +70,7 @@ highlight todoStatusTodo ctermfg=red guifg=#ff0000
syntax match todoStatusImportant "\v^\s{-}\> .*$" nextgroup=todoItem skipwhite
syntax match todoStatusImportant "\v^\s{-}! .*$" nextgroup=todoItem skipwhite
highlight todoStatusImportant ctermfg=167 guifg=#d75f5f
highlight todoStatusImportant ctermfg=167 guifg=#d75f5f cterm=italic
syntax match todoStatusQuestion "\v^\s{-}\? " nextgroup=todoItem skipwhite
highlight todoStatusQuestion ctermfg=darkcyan guifg=#6666ff

27
.vimrc
View File

@@ -293,7 +293,8 @@ map <F9> :echo "hi<" . synIDattr(synID(line("."),col("."),1),"name") . '> trans<
Plug 'Yggdroot/indentLine'
let g:indentLine_char = '┊'
"let g:indentLine_setConceal = 0
let g:indentLine_conceallevel = 1
"let g:indentLine_conceallevel = 1
let g:indentLine_conceallevel = 0
" Do not conceal LaTeX symbols
let g:tex_conceal=""
@@ -326,9 +327,13 @@ if !filereadable(skip_ycm) " Only load YouCompleteMe if ~/.dot_no_ycm does not
" sudo apt-get install python-dev
" cd ~/.vim/bundle/YouCompleteMe
" ./install.py # For C-style languages: ./install.py --clang-completer
if has('patch-8.1.2269')
if has('patch-9.1.0016')
" Latest YCM needs at least this version of vim
Plug 'ycm-core/YouCompleteMe'
elseif has('8.2.3995')
Plug 'ycm-core/YouCompleteMe', { 'branch':'legacy-vim-8.2' }
elseif has('8.1.2269')
Plug 'ycm-core/YouCompleteMe', { 'branch':'legacy-vim-8.1' }
else
" Version compatible with the vim in Debian 10 buster
" Plug 'ycm-core/YouCompleteMe', { 'commit':'d98f896' }
@@ -444,6 +449,9 @@ let g:mdnav#Extensions = '.md, .MD, .markdown, .todo, .txt, .rst'
Plug 'lervag/wiki.vim'
" Config below, after plug#end()
" marksman LSP integration (ALE) for advanced Markdown organising
Plug 'artempyanykh/marksman'
if $USER != 'root'
" notational velocity with fzf: quickly search and open notes
@@ -581,6 +589,21 @@ fun! TrimWhitespace()
endfun
command! TrimWhitespace call TrimWhitespace()
" Visually select text then press ~ to convert the text to UPPER CASE, then to lower case, then to Title Case.
" Keep pressing ~ until you get the case you want.
" https://vim.fandom.com/wiki/Switching_case_of_characters
function! TwiddleCase(str)
if a:str ==# toupper(a:str)
let result = tolower(a:str)
elseif a:str ==# tolower(a:str)
let result = substitute(a:str,'\(\<\w\+\>\)', '\u\1', 'g')
else
let result = toupper(a:str)
endif
return result
endfunction
vnoremap ~ y:call setreg('', TwiddleCase(@"), getregtype(''))<CR>gv""Pgv
" enable words completion
set dictionary+=/usr/share/dict/words
" use ctrl-n ctrl-n instead of ctrl-x ctrl-k

View File

@@ -39,6 +39,21 @@ ln -s ../.dot/dotfiles/.config/starship.toml
```
## All dependencies
To have the full experience, install all of these:
```bash
sudo apt install git curl vim-nox fzf ripgrep exuberant-ctags fish grc tmux htop direnv
# needed for building vim plugins:
sudo apt install cmake build-essential
# also, this classic:
sudo apt install mc
```
and maybe install a nice colour theme for your terminal from https://gogh-co.github.io/Gogh/ - I use argonaut with a black background myself.
## vim config
The [.vimrc](https://github.com/aquatix/dotfiles/blob/master/.vimrc) has a lot going on. [Find out more about my tweaks](https://dammit.nl/tag/vim.html) and use `:Maps` in vim itself to see key mappings

View File

@@ -50,6 +50,16 @@ JetBrainsMonoNerdFontMono-SemiBoldItalic.ttf
JetBrainsMonoNerdFontMono-SemiBold.ttf
JetBrainsMonoNerdFontMono-ThinItalic.ttf
JetBrainsMonoNerdFontMono-Thin.ttf
LilexNerdFont-BoldItalic.ttf
LilexNerdFont-Bold.ttf
LilexNerdFont-ExtraLightItalic.ttf
LilexNerdFont-ExtraLight.ttf
LilexNerdFont-Italic.ttf
LilexNerdFont-MediumItalic.ttf
LilexNerdFont-Medium.ttf
LilexNerdFont-Regular.ttf
LilexNerdFont-ThinItalic.ttf
LilexNerdFont-Thin.ttf
MonaspiceNeNerdFontMono-BoldItalic.otf
MonaspiceNeNerdFontMono-Bold.otf
MonaspiceNeNerdFontMono-Italic.otf

10
bin/update_discord Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# Use a uniquely named, temporary directory to download to
TMPDIR=$(mktemp -d)
wget "https://discord.com/api/download?platform=linux&format=deb" -O "${TMPDIR}/discord.deb"
sudo dpkg -i "${TMPDIR}/discord.deb"
# Clean up
rm "${TMPDIR}/discord.deb"

View File

@@ -6,4 +6,4 @@ git pull
cd ~/divaultwiki
git pull
#vim -c ":vsp planning_2015.todo" notes_2015.md notes_2014.md
vim -c "set nofoldenable" ~/divaultplan/planning_2024.todo ~/divaultphren/index.md ~/divaultwiki/home.md
vim -c "set nofoldenable" ~/divaultplan/planning_2025.todo ~/divaultphren/index.md ~/divaultwiki/home.md

View File

@@ -128,6 +128,15 @@ elif [ ! -e ~/.dot/.dot_no_fish ]; then
done
fi
echo
echo "Do you wish to install the starship prompt?"
select yn in "Yes" "No"; do
case $yn in
Yes ) make_link $DIR ".config/starship.toml"; curl -sS https://starship.rs/install.sh | sh; break;;
No ) break;;
esac
done
if [ ! -e ~/.dot_is_server ] && [ ! -e ~/.dot_no_server ]; then
echo
echo "Is this machine a server?"