diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..5d8bbcc --- /dev/null +++ b/.pre-commit-config.yaml @@ -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 +... diff --git a/.vimrc b/.vimrc index 53a9fe6..6ec3b6f 100644 --- a/.vimrc +++ b/.vimrc @@ -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