From 6f1cc2464a3b89efb1663632cf06797950e503ac Mon Sep 17 00:00:00 2001 From: jef Date: Sun, 9 Aug 2020 08:06:01 +0200 Subject: [PATCH] Added README --- README.md | 19 +++++++++++++++++++ ftplugin/markdown.vim | 2 ++ 2 files changed, 21 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..fdd45ae --- /dev/null +++ b/README.md @@ -0,0 +1,19 @@ +# My Neovim Config +## Intro +Neovim, the popular fork of the original Vim, has been my main text editor for a few months. Over this time, I've made +lots of changes to the config. The goal of this repository is to be an advanced config that's still very much readable. +I've commented as much as I can, and I try to explain as many vague/difficult settings as possible. + +## Goals +When I started to config my Neovim, I had a few goals in mind: +- Only use key bindings that use buttons available on any keyboard: + - letter keys + - spacebar + - backspace +- Make the config work the same on QWERTY and AZERTY (French keyboard layout) +- Leave the homerow as little as possible (no uncomfortable stretching) +- Make it ready for any language that I need to write for college and/or personal projects. + +## Design +I like to split my configs up into multiple files, as you can see in this repository. It makes it easier for me to +navigate, and it makes it so I don't just a have a file that's a thousand lines long. diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim index f3133ec..964fd44 100644 --- a/ftplugin/markdown.vim +++ b/ftplugin/markdown.vim @@ -1,5 +1,7 @@ " Show a visual line at width 120 setlocal colorcolumn=120 +" This auto-wraps the lines after it's reached more than 119 characters. +setlocal textwidth=119 " Spellcheck " Turn on spell check