@@ -112,6 +112,7 @@ require('opencode').setup({
112112 [' <leader>oR' ] = { ' rename_session' }, -- Rename current session
113113 [' <leader>op' ] = { ' configure_provider' }, -- Quick provider and model switch from predefined list
114114 [' <leader>oz' ] = { ' toggle_zoom' }, -- Zoom in/out on the Opencode windows
115+ [' <leader>ov' ] = { ' paste_image' }, -- Paste image from clipboard into current session
115116 [' <leader>od' ] = { ' diff_open' }, -- Opens a diff tab of a modified file since the last opencode prompt
116117 [' <leader>o]' ] = { ' diff_next' }, -- Navigate to next file diff
117118 [' <leader>o[' ] = { ' diff_prev' }, -- Navigate to previous file diff
@@ -135,6 +136,7 @@ require('opencode').setup({
135136 [' @' ] = { ' mention' , mode = ' i' }, -- Insert mention (file/agent)
136137 [' /' ] = { ' slash_commands' , mode = ' i' }, -- Pick a command to run in the input window
137138 [' #' ] = { ' context_items' , mode = ' i' }, -- Manage context items (current file, selection, diagnostics, mentioned files)
139+ [' <M-v>' ] = { ' paste_image' , mode = ' i' }, -- Paste image from clipboard as attachment
138140 [' <C-i>' ] = { ' focus_input' , mode = { ' n' , ' i' } }, -- Focus on input window and enter insert mode at the end of the input from the output window
139141 [' <tab>' ] = { ' toggle_pane' , mode = { ' n' , ' i' } }, -- Toggle between input and output panes
140142 [' <up>' ] = { ' prev_prompt_history' , mode = { ' n' , ' i' } }, -- Navigate to previous prompt in history
0 commit comments