Skip to content

Commit

Permalink
feat: open :messages and history in a split with enter=true
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Oct 28, 2022
1 parent 75730f4 commit 7beef93
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lua/noice/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function M.defaults()
view = "notify", -- default view for messages
view_error = "notify", -- view for errors
view_warn = "notify", -- view for warnings
view_history = "split", -- view for :messages
view_history = "messages", -- view for :messages
view_search = "virtualtext", -- view for search count messages. Set to `false` to disable
},
popupmenu = {
Expand Down
4 changes: 4 additions & 0 deletions lua/noice/config/views.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ M.defaults = {
wrap = true,
},
},
messages = {
view = "split",
enter = true,
},
vsplit = {
view = "split",
position = "right",
Expand Down

0 comments on commit 7beef93

Please sign in to comment.