From a9ee267075c39bb82104e46bf5dd9b049cbac359 Mon Sep 17 00:00:00 2001 From: Graham Hall Date: Wed, 3 Apr 2024 21:10:11 -0400 Subject: [PATCH] added more dotfiles --- git_config/gh_cli.yaml | 16 ++++++++++++++++ micro_config/bindings.json | 9 +++++++++ micro_config/settings.json | 5 +++++ misc_config/alacritty.toml | 3 +++ misc_config/thefuck.py | 26 ++++++++++++++++++++++++++ zed_config/keymap.json | 0 zed_config/settings.json | 32 ++++++++++++++++++++++++++++++++ 7 files changed, 91 insertions(+) create mode 100644 git_config/gh_cli.yaml create mode 100644 micro_config/bindings.json create mode 100644 micro_config/settings.json create mode 100644 misc_config/alacritty.toml create mode 100644 misc_config/thefuck.py create mode 100644 zed_config/keymap.json create mode 100644 zed_config/settings.json diff --git a/git_config/gh_cli.yaml b/git_config/gh_cli.yaml new file mode 100644 index 0000000..9e2baca --- /dev/null +++ b/git_config/gh_cli.yaml @@ -0,0 +1,16 @@ +# What protocol to use when performing git operations. Supported values: ssh, https +git_protocol: https +# What editor gh should run when creating issues, pull requests, etc. If blank, will refer to environment. +editor: micro +# When to interactively prompt. This is a global config that cannot be overridden by hostname. Supported values: enabled, disabled +prompt: enabled +# A pager program to send command output to, e.g. "less". Set the value to "cat" to disable the pager. +pager: +# Aliases allow you to create nicknames for gh commands +aliases: + co: pr checkout +# The path to a unix socket through which send HTTP connections. If blank, HTTP traffic will be handled by net/http.DefaultTransport. +http_unix_socket: +# What web browser gh should use when opening URLs. If blank, will refer to environment. +browser: +version: "1" diff --git a/micro_config/bindings.json b/micro_config/bindings.json new file mode 100644 index 0000000..a4f3fa4 --- /dev/null +++ b/micro_config/bindings.json @@ -0,0 +1,9 @@ +{ + "Alt-/": "lua:comment.comment", + "Alt-d": "command:definition", + "Alt-f": "command:format", + "Alt-k": "command:hover", + "Alt-r": "command:references", + "CtrlSpace": "command:lspcompletion", + "CtrlUnderscore": "lua:comment.comment" +} diff --git a/micro_config/settings.json b/micro_config/settings.json new file mode 100644 index 0000000..b9d75f6 --- /dev/null +++ b/micro_config/settings.json @@ -0,0 +1,5 @@ +{ + "colorscheme": "catppuccin-frappe", + "softwrap": true, + "tabsize": 2 +} diff --git a/misc_config/alacritty.toml b/misc_config/alacritty.toml new file mode 100644 index 0000000..5f041c6 --- /dev/null +++ b/misc_config/alacritty.toml @@ -0,0 +1,3 @@ +[font] +normal = { family = "Rec Mono Semicasual", style = "Regular" } +size = 14 diff --git a/misc_config/thefuck.py b/misc_config/thefuck.py new file mode 100644 index 0000000..8478f6d --- /dev/null +++ b/misc_config/thefuck.py @@ -0,0 +1,26 @@ +# The Fuck settings file +# +# The rules are defined as in the example bellow: +# +# rules = ['cd_parent', 'git_push', 'python_command', 'sudo'] +# +# The default values are as follows. Uncomment and change to fit your needs. +# See https://github.com/nvbn/thefuck#settings for more information. +# + +# rules = [] +# exclude_rules = [] +# wait_command = 3 +# require_confirmation = True +# no_colors = False +# debug = False +# priority = {} +# history_limit = None +# alter_history = True +# wait_slow_command = 15 +# slow_commands = ['lein', 'react-native', 'gradle', './gradlew', 'vagrant'] +# repeat = False +# instant_mode = False +# num_close_matches = 3 +# env = {'LC_ALL': 'C', 'LANG': 'C', 'GIT_TRACE': '1'} +# excluded_search_path_prefixes = [] diff --git a/zed_config/keymap.json b/zed_config/keymap.json new file mode 100644 index 0000000..e69de29 diff --git a/zed_config/settings.json b/zed_config/settings.json new file mode 100644 index 0000000..e64af7c --- /dev/null +++ b/zed_config/settings.json @@ -0,0 +1,32 @@ +// Zed settings +// +// For information on how to configure Zed, see the Zed +// documentation: https://zed.dev/docs/configuring-zed +// +// To see all of Zed's default settings without changing your +// custom settings, run the `open default settings` command +// from the command palette or from `Zed` application menu. +{ + "features": { + "copilot": false + }, + "theme": "Gruvbox Dark Soft", + "ui_font_family": "Rec Mono Semicasual", + "buffer_font_family": "Rec Mono Semicasual", + "ui_font_size": 17, + "buffer_font_size": 15, + "tab_size": 2, + "collaboration_panel": { + "button": false + }, + "chat_panel": { + "button": false + }, + "assistant": { + "button": false + }, + "tabs": { + "git_status": true, + "close_position": "left" + } +}