diff --git a/.editorconfig b/.editorconfig index 0f17867..104850f 100644 --- a/.editorconfig +++ b/.editorconfig @@ -7,3 +7,7 @@ indent_size = 2 indent_style = space insert_final_newline = true trim_trailing_whitespace = true + +[.git{ignore,modules}] +indent_style = tab +indent_size = 1 diff --git a/.gitmodules b/.gitmodules index 7ab9dc0..271971d 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,4 @@ +# vim: set expandtab: [submodule "dotbot"] path = dotbot url = https://github.com/anishathalye/dotbot.git @@ -26,3 +27,9 @@ update = rebase branch = main ignore = dirty + +[submodule "cheat-community"] + path = config/cheat/cheatsheets/community + url = https://github.com/cheat/cheatsheets.git + ignore = dirty + diff --git a/.yamlignore b/.yamlignore new file mode 100644 index 0000000..66863a8 --- /dev/null +++ b/.yamlignore @@ -0,0 +1,2 @@ +# .yamlignore + diff --git a/add-submodules.sh b/add-submodules.sh old mode 100644 new mode 100755 index 9c4478c..9f78a79 --- a/add-submodules.sh +++ b/add-submodules.sh @@ -2,3 +2,4 @@ git submodule add --name dotbot-brew -f https://github.com/wren/dotbot-brew.git dotbot-brew git submodule add --name dotbot-include -f https://gitlab.com/gnfzdz/dotbot-include.git dotbot-include +git submodule add --name cheat-community -f https://github.com/cheat/cheatsheets.git config/cheat/cheatsheets/community diff --git a/config/cheat/cheatsheets/personal/.gitkeep b/config/cheat/cheatsheets/personal/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/config/cheat/conf.yml b/config/cheat/conf.yml index 3576a4c..e192dce 100644 --- a/config/cheat/conf.yml +++ b/config/cheat/conf.yml @@ -1,6 +1,6 @@ --- # The editor to use with 'cheat -e '. Defaults to $EDITOR or $VISUAL. -editor: EDITOR_PATH +editor: $EDITOR # Should 'cheat' always colorize output? colorize: true @@ -12,12 +12,12 @@ style: monokai # Which 'chroma' "formatter" should be applied? # One of: "terminal", "terminal256", "terminal16m" -formatter: terminal16m +formatter: terminal256 # Through which pager should output be piped? # 'less -FRX' is recommended on Unix systems # 'more' is recommended on Windows -pager: PAGER_PATH +pager: less -FRX # Cheatpaths are paths at which cheatsheets are available on your local # filesystem.