Skip to content

Conversation

@esmuellert
Copy link
Owner

Summary

Adds configurable explorer panel position, allowing users to place the file list at the bottom instead of left for a wider diff view.

Changes

  • Add explorer.position config option: 'left' (default) or 'bottom'
  • Add explorer.width config option for left position (default: 40)
  • Add explorer.height config option for bottom position (default: 15)
  • Document diff_get and diff_put keymaps in README

Usage

require('vscode-diff').setup({
  explorer = {
    position = 'bottom',  -- Place file list at bottom
    height = 15,          -- Height in lines
  },
})

Closes #103

Add explorer.position config option to place the file list panel
at the left (default) or bottom of the screen.

New config options:
- explorer.position: 'left' or 'bottom'
- explorer.width: width when position is 'left' (default: 40)
- explorer.height: height when position is 'bottom' (default: 15)

Closes #103
Add explorer.position config option to place the file list panel
at the left (default) or bottom of the screen for wider diff view.

New config options:
- explorer.position: 'left' or 'bottom'
- explorer.width: width when position is 'left' (default: 40)
- explorer.height: height when position is 'bottom' (default: 15)

Also documents diff_get/diff_put keymaps in README.

Closes #103
@esmuellert esmuellert enabled auto-merge December 17, 2025 21:23
@esmuellert esmuellert merged commit ba6c8dc into main Dec 17, 2025
13 checks passed
esmuellert added a commit that referenced this pull request Dec 17, 2025
## Summary
Merge latest features from main branch into next.

## Features included
- feat: dynamic git revision completion for :CodeDiff command (#114)
- feat: configurable explorer position (left or bottom) (#115)

## Resolved conflicts
- VERSION (keep next version 2.0.0-next.12)
- virtual_file.lua (combine merge conflict patterns :1:/:2:/:3: with
symbolic refs HEAD)
- plugin/vscode-diff.lua (combine dynamic completion with merge
subcommand support)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can the file list be at the bottom instead of Left?

2 participants