Skip to content

Commit 297f078

Browse files
cameronrsudo-tee
authored andcommitted
docs(readme): add zoom
1 parent bfd557d commit 297f078

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ require('opencode').setup({
110110
['<leader>oq'] = { 'close' }, -- Close UI windows
111111
['<leader>os'] = { 'select_session' }, -- Select and load a opencode session
112112
['<leader>op'] = { 'configure_provider' }, -- Quick provider and model switch from predefined list
113+
['<leader>oz'] = { 'toggle_zoom' }, -- Zoom in/out on the Opencode windows
113114
['<leader>od'] = { 'diff_open' }, -- Opens a diff tab of a modified file since the last opencode prompt
114115
['<leader>o]'] = { 'diff_next' }, -- Navigate to next file diff
115116
['<leader>o['] = { 'diff_prev' }, -- Navigate to previous file diff
@@ -170,6 +171,7 @@ require('opencode').setup({
170171
position = 'right', -- 'right' (default) or 'left'. Position of the UI split
171172
input_position = 'bottom', -- 'bottom' (default) or 'top'. Position of the input window
172173
window_width = 0.40, -- Width as percentage of editor width
174+
zoom_width = 0.8, -- Zoom width as percentage of editor width
173175
input_height = 0.15, -- Input height as percentage of window height
174176
display_model = true, -- Display model name on top winbar
175177
display_context_size = true, -- Display context size in the footer

0 commit comments

Comments
 (0)