- 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
- Add `vim` artifacts in ~/.config/git/ignore
27 lines
360 B
Text
27 lines
360 B
Text
# Generic temporary files
|
|
*.backup
|
|
*.bak
|
|
*.orig
|
|
*.temp
|
|
*.tmp
|
|
|
|
# Vim
|
|
# Source: https://github.com/github/gitignore/blob/main/Global/Vim.gitignore
|
|
#
|
|
# Swap
|
|
[._]*.s[a-v][a-z]
|
|
!*.svg
|
|
[._]*.sw[a-p]
|
|
[._]s[a-rt-v][a-z]
|
|
[._]ss[a-gi-z]
|
|
[._]sw[a-p]
|
|
# Session
|
|
Session.vim
|
|
Sessionx.vim
|
|
# Temporary
|
|
.netrwhist
|
|
*~
|
|
# Auto-generated tag files
|
|
tags
|
|
# Persistent undo
|
|
[._]*.un~
|