Compare commits

..

No commits in common. "92a8d3343a74856a6ca6eb7c27f10cae2216dfec" and "e7ae1a947c3de16609439fe0086c5b205da03070" have entirely different histories.

3 changed files with 6 additions and 20 deletions

View file

@ -1,5 +1,5 @@
{ {
"rust-analyzer.server.path": "~/.cargo/bin/rust-analyzer", "rust-analyzer.server.path": "~/.cargo/bin/rust-analyzer",
"suggest.acceptSuggestionOnCommitCharacter": true, "suggest.acceptSuggestionOnCommitCharacter": true,
"diagnostic.displayByAle": false "diagnostic.displayByAle": true
} }

View file

@ -104,16 +104,9 @@ map <Leader>% :split<CR>
" join with <leader>j " join with <leader>j
nnoremap <leader>j :join<CR> nnoremap <leader>j :join<CR>
" move screen a line up/down with alt U/D
nmap <A-u> kzz
nmap <A-d> jzz
" spell checking ----------------------------------------------------------------------------------- " spell checking -----------------------------------------------------------------------------------
set spell spelllang=en set spell spelllang=en
" set a location
set spellfile=~/.config/nvim/spell/en.utf-8.add
" go to last or next misspelled word " go to last or next misspelled word
nnoremap zn ]s nnoremap zn ]s
nnoremap zN [s nnoremap zN [s
@ -124,15 +117,8 @@ nnoremap ZN [S
" mark correct with zg, mark bad with zw, undo with zug/zuw " mark correct with zg, mark bad with zw, undo with zug/zuw
" fancy fzf correct with zc, default is z= but that sucks for qwertz keyboards " correct with zc, default is z= but that sucks for qwertz keyboards
function! FzfSpellSink(word) nnoremap z<space> z=
exe 'normal! "_ciw'.a:word
endfunction
function! FzfSpell()
let suggestions = spellsuggest(expand("<cword>"))
return fzf#run({'source': suggestions, 'sink': function("FzfSpellSink"), 'down': 10 })
endfunction
nnoremap z<space> :call FzfSpell()<CR>
" don't make things written as `something` a typo " don't make things written as `something` a typo
syntax region cBackTickNoSpell start=+`+ end=+`+ syntax region cBackTickNoSpell start=+`+ end=+`+

View file

@ -1,7 +1,7 @@
[user] [user]
email = Christoph.Scherr@newtec.de email = software@cscherr.de
name = Christoph J. Scherr name = PlexSheep
signingkey = Christoph.Scherr@newtec.de signingkey = software@cscherr.de
[credential] [credential]
helper = store --file ~/.git-credentials helper = store --file ~/.git-credentials
[commit] [commit]