Skip to content

Commit

Permalink
feat: bind q to quit for split mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jellydn committed Oct 22, 2023
1 parent e9e1f65 commit b449389
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/hurl/split.lua
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ M.show = function(data, type)
return
end

split:map('n', 'q', '<cmd>q<cr>')

-- Set content to highlight
vim.api.nvim_buf_set_option(split.bufnr, 'filetype', type)

Expand Down

0 comments on commit b449389

Please sign in to comment.