Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mlewand/vscode-selection-flip

VSCode extensions that allows you to flip over your selection anchor point.
https://github.com/mlewand/vscode-selection-flip

Last synced: 1 day ago
JSON representation

VSCode extensions that allows you to flip over your selection anchor point.

Awesome Lists containing this project

README

        

# vscode-selection-flip

[![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/gjcdelf5727f824r?passingText=master%20%E2%9C%93)](https://ci.appveyor.com/project/mlewand/vscode-selection-flip)
[![Marketplace rating](https://vsmarketplacebadges.dev/rating/mlewand.vscode-selection-flip.png)](https://marketplace.visualstudio.com/items?itemName=mlewand.vscode-selection-flip)
[![The MIT License](https://img.shields.io/badge/license-MIT-green.png?style=flat-square)](https://opensource.org/licenses/MIT)

VSCode extensions that allows you to flip over your selection anchor point.

![Example usage of vscode-selection-flip extension](assets/vscode-selection-flip.gif)

## Default Hotkeys

Hotkey | Description
---|---
`alt+i` | Flip selection
`cmd+i` | Flip selection (macOS)

## Use Case

Sometimes I have a need to select whole function and its API docs at once, using keyboard only.

Currently I use a command to expand selection over the block/function but it puts the caret at the end. I need to put it back to beginning so I can continue selection upwards - this is when this extension comes handy.

## License

The code is distributed under MIT license.