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

13 Commits

11 changed files with 102 additions and 6 deletions

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

@@ -19,3 +19,4 @@ Pratchett
jailbreaking
plugin
Readeck
enshittification

View File

@@ -252,3 +252,6 @@ 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

18
.vimrc
View File

@@ -449,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
@@ -586,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

@@ -46,7 +46,7 @@ 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-essentials
sudo apt install cmake build-essential
# also, this classic:
sudo apt install mc
```

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

@@ -132,7 +132,7 @@ 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.yml"; curl -sS https://starship.rs/install.sh | sh; break;;
Yes ) make_link $DIR ".config/starship.toml"; curl -sS https://starship.rs/install.sh | sh; break;;
No ) break;;
esac
done