Compare commits

...

2 commits

Author SHA1 Message Date
1768bc0c3f vimrc: added options for netrw 2024-12-19 10:58:38 +01:00
2156f725e5 added pre-commit config 2024-12-19 10:58:38 +01:00
2 changed files with 26 additions and 0 deletions

21
.pre-commit-config.yaml Normal file
View file

@ -0,0 +1,21 @@
---
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: check-ast
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- id: check-merge-conflict
- id: check-byte-order-marker
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.42.0
hooks:
- id: markdownlint
args: ["--disable", "MD013", "--"]
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.10.0
hooks:
- id: shellcheck
...

5
.vimrc
View file

@ -73,6 +73,11 @@ let g:blamer_prefix = ' > '
let g:gitgutter_highlight_lines = 1
let g:gitgutter_highlight_linenrs = 1
let g:goyo_width = 120
let g:netrw_banner = 0
let g:netrw_keepdir = 0
let g:netrw_liststyle = 3
let g:netrw_localcopydircmd = 'cp -r'
let g:netrw_winsize = 20
let g:startify_fortune_use_unicode = 1
let g:startify_session_autoload = 1
let g:startify_session_persistence = 1