|author||Tom Ryder <firstname.lastname@example.org>||2023-04-03 14:37:47 +1200|
|committer||Tom Ryder <email@example.com>||2023-04-03 14:37:47 +1200|
|parent||Adjust order of profile subfiles creation (diff)|
Add Vim mapping to switch to French spelling
1 files changed, 11 insertions, 7 deletions
@@ -1240,13 +1240,6 @@ noremap <Leader>w
-" This next one just shows option state of the 'formatoptions' affecting how
-" text is automatically formatted; it doesn't change its value.
-"" Leader,f shows the current 'formatoptions' at a glance
- \ :<C-U>set formatoptions?<CR>
" I often have to switch between US English and NZ English. The latter is
" almost exactly the same as UK English in most locales, although we use
" dollars rather than pounds. This is mostly so I remember things like
@@ -1258,6 +1251,17 @@ nnoremap <Leader>z
\ :<C-U>set spelllang=en_us<CR>
+" I've also been trying to learn French lately (2023-04-03), and having
+" a spelling check there is handy for doing my homework.
+" This mapping used to show the state of 'formatoptions', but I haven't been
+" using that nearly as often lately.
+ \ :<C-U>set spelllang=fr<CR>
" The next mapping is also for toggling an option, but it's more complicated;
" it uses a simple plugin of mine called copy_linebreak.vim to manage several
" options at once, related to the 'wrap' option that soft-wraps text.