Skip to content

Commit 3fc32aa

Browse files
committed
open terminal buffer in terminal mode
No need to press an extra key to go into terminal mode once inside the `gh dash` floating window (`gh dash` keybinds will work immediately after popup opens).
1 parent 57806a9 commit 3fc32aa

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lua/gh_dash/init.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ local function open_window()
102102
style = 'minimal',
103103
border = border,
104104
})
105+
106+
vim.cmd('startinsert')
105107
end
106108

107109
function M.open()

0 commit comments

Comments
 (0)