summaryrefslogtreecommitdiffstats
path: root/pkg/config
diff options
context:
space:
mode:
authorzottelsheep <mail@zottelsheep.de>2023-10-14 15:00:58 +0200
committerzottelsheep <mail@zottelsheep.de>2023-10-14 15:04:23 +0200
commit7ffb6ffb0f27aca52d9da5e4c655f10e6a1af567 (patch)
tree570eac4cd809e7e49c137b2123bb10ee44d4b7e5 /pkg/config
parent36918560210070ad2acdfccda6384c3ebd237f6d (diff)
Add 'lvim' editor preset for lunarvim
Add 'lvim' as a new standardTerminalEditorPreset, since lunarvim uses an alias for nvim.
Diffstat (limited to 'pkg/config')
-rw-r--r--pkg/config/editor_presets.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/config/editor_presets.go b/pkg/config/editor_presets.go
index 8509cb54b..284b21306 100644
--- a/pkg/config/editor_presets.go
+++ b/pkg/config/editor_presets.go
@@ -59,6 +59,7 @@ func getPreset(osConfig *OSConfig, guessDefaultEditor func() string) *editPreset
openDirInEditorTemplate: `nvim --server "$NVIM" --remote-tab {{dir}}`,
suspend: false,
},
+ "lvim": standardTerminalEditorPreset("lvim"),
"emacs": standardTerminalEditorPreset("emacs"),
"micro": standardTerminalEditorPreset("micro"),
"nano": standardTerminalEditorPreset("nano"),