Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow moving and resizing tile's grips using arrow keys #695

Merged
merged 6 commits into from
Dec 17, 2024

Conversation

o-sdn-o
Copy link
Collaborator

@o-sdn-o o-sdn-o commented Dec 17, 2024

Changes

  • Suppress tile's pane split if there is no space.
  • Remove DropAutoRepeat for tile splitting hot keys.
  • Allow moving and resizing tile's grips using arrow keys.
    <config>
      <hotkeys>  <!-- The required key combination sequence can be generated on the Info page, accessible by clicking on the label in the lower right corner of the vtm desktop. -->
          <tile>
              <grips key*>
                  <key="LeftArrow" ><action=TileMoveGrip   data="-1, 0"/></key>  <!-- Move the split grip to the left. -->
                  <key="RightArrow"><action=TileMoveGrip   data=" 1, 0"/></key>  <!-- Move the split grip to the right. -->
                  <key="UpArrow"   ><action=TileMoveGrip   data=" 0,-1"/></key>  <!-- Move the split grip up. -->
                  <key="DownArrow" ><action=TileMoveGrip   data=" 0, 1"/></key>  <!-- Move the split grip down. -->
                  <key="'-'"       ><action=TileResizeGrip data="-1"   /></key>  <!-- Decrease the split grip width. -->
                  <key="Shift+'+'" ><action=TileResizeGrip data=" 1"   /></key>  <!-- Increase the split grip width. -->
              </grips>
          </tile>
      </hotkeys>
    </config>
    

@o-sdn-o o-sdn-o merged commit 03077e3 into directvt:master Dec 17, 2024
8 checks passed
@o-sdn-o o-sdn-o deleted the gui-bridge branch December 17, 2024 12:23
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.

1 participant