add the old snippet md files
This commit is contained in:
parent
fc0dd204c7
commit
bcf8313a4b
110 changed files with 3048 additions and 0 deletions
31
old_snippets/vim-spelling.en.md
Normal file
31
old_snippets/vim-spelling.en.md
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
---
|
||||
title: "vim spelling"
|
||||
date: 2020-03-05T10:41:42+01:00
|
||||
draft: false
|
||||
snippet_types: ["vim"]
|
||||
---
|
||||
|
||||
Exampled by the errors in my blog posts, spelling is not my strength. Never was. Always felt focusing on spelling limited my vocabulary. So I rely on tech. From the first red squiggly line in MS Word to now.
|
||||
|
||||
Web UI base tools:
|
||||
|
||||
- [Grammerly](https://app.grammarly.com/)
|
||||
- [Language tool](https://languagetool.org/)
|
||||
|
||||
The problem with these is I have to leave the terminal. Tech Motto: Never leave the terminal. So I use vim's built-in. It is surprisingly good.
|
||||
|
||||
**In action:**
|
||||
|
||||
{{< asciicast-with-caption id="307766" title="demo using vim's builtin spell check" >}}
|
||||
|
||||
**Config:**
|
||||
|
||||
I write in both English and German so I have key maps for both
|
||||
|
||||
```vim script
|
||||
nnoremap <leader>se :setlocal spell spelllang=en<CR>
|
||||
nnoremap <leader>sd :setlocal spell spelllang=de<CR>
|
||||
nnoremap <leader>sn :setlocal nospell<CR>
|
||||
```
|
||||
|
||||
Other spelling and writing tools: https://www.are.na/travis-shears/writing-bqnwud28d50
|
||||
Loading…
Add table
Add a link
Reference in a new issue