From e952895d387174caabea022ddb7ce5177aa021d0 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Thu, 2 Feb 2023 20:58:44 +0100 Subject: [PATCH] Add config for Lapce Signed-off-by: Severin Kaderli --- .gitignore | 5 +++++ .install/symlinks.sh | 1 + system/.config/lapce-stable/keymaps.toml | 10 ++++++++++ system/.config/lapce-stable/settings.toml | 11 +++++++++++ 4 files changed, 27 insertions(+) create mode 100644 system/.config/lapce-stable/keymaps.toml create mode 100644 system/.config/lapce-stable/settings.toml diff --git a/.gitignore b/.gitignore index 90043b5..e2931a0 100644 --- a/.gitignore +++ b/.gitignore @@ -26,6 +26,11 @@ system/.config/task/localrc system/.config/Element/* !system/.config/Element/config.json +# Lapce +system/.config/lapce-stable/* +!system/.config/lapce-stable/keymaps.toml +!system/.config/lapce-stable/settings.toml + # Desktop files system/.local/share/applications/jetbrains-*.desktop system/.local/share/applications/discord-*.desktop diff --git a/.install/symlinks.sh b/.install/symlinks.sh index 56049fe..5ce93c1 100644 --- a/.install/symlinks.sh +++ b/.install/symlinks.sh @@ -32,6 +32,7 @@ CONFIG_LINKED_FILES_HOME=( ".config/gtk-3.0" ".config/httpie" ".config/kanshi" + ".config/lapce-stable" ".config/maven" ".config/mopidy" ".config/mpd" diff --git a/system/.config/lapce-stable/keymaps.toml b/system/.config/lapce-stable/keymaps.toml new file mode 100644 index 0000000..0814e8d --- /dev/null +++ b/system/.config/lapce-stable/keymaps.toml @@ -0,0 +1,10 @@ + +[[keymaps]] +command = "duplicate_line_down" +mode = "i" +key = "Ctrl+d" + +[[keymaps]] +command = "-duplicate_line_down" +mode = "i" +key = "Alt+Shift+ArrowDown" diff --git a/system/.config/lapce-stable/settings.toml b/system/.config/lapce-stable/settings.toml new file mode 100644 index 0000000..a0da54b --- /dev/null +++ b/system/.config/lapce-stable/settings.toml @@ -0,0 +1,11 @@ +[ui] +font-family = "Inter" +font-size = 14 + +[editor] +font-family = "Iosevka" +font-size = 14 +scroll-beyond-last-line = false + +[core] +custom-titlebar = false