Add configuration for vim
- Add ~/.config/vim/vimrc
+ Configure basic stuff
+ Activate spell checks
+ Activate syntax highlighting and ruler
+ Show whitespace characters
+ Add various snippets for mouse handling,
toggling line numbers, and search
+ Set `vim`-related directories inside
~/.config/vim and ~/.local/state/vim
- Integrate extra settings for Python files
in ~/.config/vim/after/ftplugin/python.vim
and ~/.config/vim/after/syntax/python.vim
- Add `vim` artifacts in ~/.config/git/ignore
This commit is contained in:
parent
4d9e800d94
commit
8f7cef086b
12 changed files with 611 additions and 1 deletions
3
.config/vim/after/syntax/python.vim
Normal file
3
.config/vim/after/syntax/python.vim
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
" Give every character beyond 80 columns a red background
|
||||
syntax match pythonOverLength /\%>80v.\+/ containedin=ALL
|
||||
highlight link pythonOverLength ErrorMsg
|
||||
Loading…
Reference in a new issue