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

Compare commits

..

4 Commits

Author SHA1 Message Date
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
4 changed files with 15 additions and 0 deletions

1
.gitignore vendored
View File

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

View File

@@ -160,3 +160,8 @@ wokgerecht
rundersaucijs
Loïs
Pfizer
gehaktsaus
aardappelkroketjes
AMD
Assetto
Corsa

Binary file not shown.

9
.vimrc
View File

@@ -271,6 +271,15 @@ endif
" https://castel.dev/post/lecture-notes-1/
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)
set complete+=kspell