From f4ba58f83573b7582ee491b51a05349227afa072 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Tue, 30 Jul 2024 11:43:30 +0700 Subject: [PATCH] config(zed): save zed keymaps --- data/data.toml | 4 ++++ data/zed/keymap.json | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 data/zed/keymap.json diff --git a/data/data.toml b/data/data.toml index 59e5749..ba39f76 100644 --- a/data/data.toml +++ b/data/data.toml @@ -78,6 +78,10 @@ url = "https://raw.githubusercontent.com/romkatv/powerlevel10k/master/config/p10 internal = "data/zed/settings.json" external = "~/.config/zed/settings.json" +[[apps.zed.paths]] +internal = "data/zed/keymap.json" +external = "~/.config/zed/keymap.json" + [[apps.pokeget.paths]] internal = "data/pokeget" external = "~/.config/pokeget" diff --git a/data/zed/keymap.json b/data/zed/keymap.json new file mode 100644 index 0000000..ee38638 --- /dev/null +++ b/data/zed/keymap.json @@ -0,0 +1,9 @@ +[ + { + "context": "Editor && inline_completion && !showing_completions", + "bindings": { + "tab": "zed::NoAction", + "alt-right": "editor::AcceptInlineCompletion" + } + } +]