We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9198c8 commit 6452bf8Copy full SHA for 6452bf8
lua/dcai/keymaps/openthings.lua
@@ -1,7 +1,7 @@
1
local utils = require('dcai.keymaps.utils')
2
3
--- local subl = '/Applications/Sublime\\ Text.app/Contents/SharedSupport/bin/subl'
4
-local zed = [[/Applications/Zed.app/Contents/MacOS/cli]]
+local subl = '/Applications/Sublime\\ Text.app/Contents/SharedSupport/bin/subl'
+-- local zed = [[/Applications/Zed.app/Contents/MacOS/cli]]
5
6
local openthings_keymap = {
7
{ '<leader>o', group = 'open things' },
@@ -34,7 +34,7 @@ local openthings_keymap = {
34
function()
35
-- has to be wrapped because filename must be lazy evaluated
36
utils.lazy_cmd_with_window(
37
- zed,
+ subl,
38
{ disable_popup = true, args = { vim.fn.expand('%:p') } },
39
'open file in external editor'
40
)()
0 commit comments