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

22 Commits

Author SHA1 Message Date
fed1dc4d8e Words 2021-08-30 15:57:58 +02:00
3aa07b28c2 DiVault phren 2021-08-30 15:57:54 +02:00
009557beb4 Wiiiiii 2021-08-30 15:56:18 +02:00
5e91c7d6af Spelling file for English is also auto-generated 2021-08-23 16:07:01 +02:00
c844099484 Ignore vim generated spelling files 2021-08-23 11:06:24 +02:00
5d374082e9 Words 2021-08-23 11:05:57 +02:00
44540b79a2 Autogenerate .spl files from .add spelling files 2021-08-23 11:05:19 +02:00
5d4d5a0bfa Word 2021-08-23 10:56:16 +02:00
ab722b28df Adjusted the fisher install notes 2021-07-10 10:47:21 +02:00
d601327458 Word 2021-07-09 10:40:11 +02:00
18b9e5c8ec Current fisher cannot be installed automatically 2021-07-08 10:32:17 +02:00
eaa4bb7d05 Fisher 4.x has a new plugin file 2021-07-07 10:24:11 +02:00
8e7af76123 Latest fisher has a different config file, of course 2021-06-27 09:08:22 +02:00
28234cd6a7 Bandcamp support, block Musicbrainz by not running a local instance 2021-06-19 21:28:24 +02:00
4f12b0ab9e Singles belong to their artist 2021-06-18 21:48:28 +02:00
358dd8e6d1 If there's multiple discs, prepend tracks with the disc number 2021-06-18 15:30:48 +02:00
a00697759c This stuff is big 2021-06-18 14:29:18 +02:00
eb33471478 More logical layout 2021-06-18 14:04:32 +02:00
2158c887cc Beets has its own dir now 2021-06-18 13:37:58 +02:00
e0861ac757 Playing around with beets music manager 2021-06-18 13:29:33 +02:00
Michiel Scholten
4648ba6ff6 Merge pull request #2 from aquatix/vim-todo
Vim todo
2021-05-04 17:53:58 +02:00
570bfcceb2 Python requirements.txt syntax highlighting 2021-05-04 17:52:50 +02:00
9 changed files with 100 additions and 11 deletions

60
.config/beets/config.yaml Normal file
View File

@@ -0,0 +1,60 @@
directory: /stuff/beets/music
library: /stuff/beets/musiclibrary.db
art_filename: cover
asciify_paths: yes
per_disc_numbering: yes
threaded: yes
paths:
# default: $albumartist/$year - $album/$track $artist - $title
default: %the{$albumartist}/$year - $album%aunique{}/%if{$multidisc,$disc-}$track $artist - $title
#singleton: Singletons/$artist - $title
singleton: %the{$albumartist}/single - $artist - $title/$artist - $title
comp: Compilations/$album%aunique{}/%if{$multidisc,$disc-}$track $artist - $title
albumtype:soundtrack: Soundtracks/$album%aunique{}/%if{$multidisc,$disc-}$track $artist - $title
import:
write: yes
copy: yes
move: no
resume: ask
#incremental: yes
log: beetslog.log
ignore: .AppleDouble ._* *~ .DS_Store
plugins: [
bandcamp, # pip install beets-bandcamp
discogs,
duplicates,
embedart,
fetchart,
ftintitle,
importadded,
inline,
the,
]
discogs:
# pip install discogs-client
# Useful for classical music:
index_tracks: yes
fetchart:
# pip install requests
cautious: true
ftintitle:
auto: yes
format: (feat. {0})
importadded:
preserve_mtimes: yes
preserve_write_mtimes: yes
item_fields:
multidisc: 1 if disctotal > 1 else 0
musicbrainz:
host: localhost:5000

View File

@@ -3,12 +3,11 @@ set EDITOR vim
set -q XDG_CONFIG_HOME; or set XDG_CONFIG_HOME ~/.config set -q XDG_CONFIG_HOME; or set XDG_CONFIG_HOME ~/.config
if not functions -q fisher #if not functions -q fisher
echo "Installing fisher for the first time..." >&2 # DO NOT ENABLE, it is a fork bomb :)
set -q XDG_CONFIG_HOME; or set XDG_CONFIG_HOME ~/.config # echo "Installing fisher for the first time..." >&2
curl https://git.io/fisher --create-dirs -sLo $XDG_CONFIG_HOME/fish/functions/fisher.fish # curl -sL https://git.io/fisher | source && fisher update
fish -c fisher #end
end
# Theme options for bobthefish # Theme options for bobthefish
set -g theme_nerd_fonts yes set -g theme_nerd_fonts yes

View File

@@ -0,0 +1,9 @@
jorgebucaran/fisher
edc/bass
oh-my-fish/theme-bobthefish
fisherman/fzf
fisherman/getopts
fisherman/nvm
oh-my-fish/plugin-grc
fisherman/shark
fisherman/z

1
.gitignore vendored
View File

@@ -1,5 +1,6 @@
# Vim # Vim
.vim/bundle .vim/bundle
*.spl
*.swp *.swp
*.swo *.swo

Binary file not shown.

View File

@@ -159,3 +159,12 @@ Efteling
wokgerecht wokgerecht
rundersaucijs rundersaucijs
Loïs Loïs
Pfizer
gehaktsaus
aardappelkroketjes
AMD
Assetto
Corsa
Wii
gymkleding
kutweer

Binary file not shown.

14
.vimrc
View File

@@ -271,6 +271,15 @@ endif
" https://castel.dev/post/lecture-notes-1/ " https://castel.dev/post/lecture-notes-1/
inoremap <C-l> <c-g>u<Esc>[s1z=`]a<c-g>u inoremap <C-l> <c-g>u<Esc>[s1z=`]a<c-g>u
" Make sure .add.spl spelling files are up-to-date with their .add
" counterparts
" https://vi.stackexchange.com/questions/5050/how-to-share-vim-spellchecking-additions-between-multiple-machines
for d in glob('~/.vim/spell/*.add', 1, 1)
if filereadable(d) && (!filereadable(d . '.spl') || getftime(d) > getftime(d . '.spl'))
exec 'mkspell! ' . fnameescape(d)
endif
endfor
" Word completion from dictionary (on ctrl+space) " Word completion from dictionary (on ctrl+space)
set complete+=kspell set complete+=kspell
@@ -376,6 +385,9 @@ endif
" Improved Django handling " Improved Django handling
Plug 'tweekmonster/django-plus.vim' Plug 'tweekmonster/django-plus.vim'
" requirements.txt highlighter
Plug 'raimon49/requirements.txt.vim', {'for': 'requirements'}
" Code checker. For python, install flake8 or pylint, preferably in the " Code checker. For python, install flake8 or pylint, preferably in the
" virtualenv. For Django support, install pylint-django " virtualenv. For Django support, install pylint-django
@@ -449,7 +461,7 @@ nmap <leader>ft :WikiFzfToc <CR>
if $USER != 'root' if $USER != 'root'
" notational velocity with fzf: quickly search and open notes " notational velocity with fzf: quickly search and open notes
Plug 'https://github.com/alok/notational-fzf-vim' Plug 'https://github.com/alok/notational-fzf-vim'
let g:nv_search_paths = ['~/phren', '~/mydocs', '~/.dot/caplog'] let g:nv_search_paths = ['~/phren', '~/mydocs', '~/.dot/caplog', '~/divaultphren']
let g:nv_ignore_pattern = ['*.xml', '*.svg'] let g:nv_ignore_pattern = ['*.xml', '*.svg']
" Quickly open the search with this shortcut " Quickly open the search with this shortcut
nmap <leader>n :NV <CR> nmap <leader>n :NV <CR>

View File

@@ -30,15 +30,14 @@ install_fish()
mkdir -p "${HOME}/.config/fish/completions" mkdir -p "${HOME}/.config/fish/completions"
curl -sL get.fisherman.sh | fish curl -sL get.fisherman.sh | fish
ln -s "${HOME}/.dot/dotfiles/.config/fish/config.fish" "${HOME}/.config/fish/" ln -s "${HOME}/.dot/dotfiles/.config/fish/config.fish" "${HOME}/.config/fish/"
ln -s "${HOME}/.dot/dotfiles/.config/fish/fishfile" "${HOME}/.config/fish/" ln -s "${HOME}/.dot/dotfiles/.config/fish/fish_plugins" "${HOME}/.config/fish/"
ln -s "${HOME}/.dot/dotfiles/.config/fish/completions/terrible_job.fish" "${HOME}/.config/fish/completions"
ln -s "${HOME}/workspace/application_addons/cli/git-flow-completion/git.fish" "${HOME}/.config/fish/completions" ln -s "${HOME}/workspace/application_addons/cli/git-flow-completion/git.fish" "${HOME}/.config/fish/completions"
ln -s "${HOME}/workspace/application_addons/cli/tmuxinator/completion/mux.fish" "${HOME}/.config/fish/completions" ln -s "${HOME}/workspace/application_addons/cli/tmuxinator/completion/mux.fish" "${HOME}/.config/fish/completions"
ln -s "${HOME}/workspace/application_addons/cli/tmuxinator/completion/tmuxinator.fish" "${HOME}/.config/fish/completions" ln -s "${HOME}/workspace/application_addons/cli/tmuxinator/completion/tmuxinator.fish" "${HOME}/.config/fish/completions"
echo echo
echo "You might want to install Fisher:" echo "You might want to install Fisher:"
echo "curl https://git.io/fisher --create-dirs -sLo ~/.config/fish/functions/fisher.fish" echo "curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher"
echo "And some plugins: fisher" echo "fisher update"
echo echo
} }