Giter Site home page Giter Site logo

atom-transpose's Introduction

Hi there ๐Ÿ‘‹

  • ๐Ÿ”ญ Iโ€™m currently working on MorJS(Multi-Platform FrameWork), and many other interesting projects.
  • ๐ŸŒฑ Iโ€™m currently learning Rust & PyTorch.
  • ๐Ÿค” Here are some of my thoughts about coding/product/design.

atom-transpose's People

Contributors

jtojnar avatar lyfeyaj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

atom-transpose's Issues

Not same functionality as Sublime

It seems that Sublime's function only switches and never reverses. Also, the transpose action should be atomically undo-able.

  • If no selection region is made (1 or more cursors exist), then each cursor will swap the characters to the left and right and then move the cursor to the right of the right character.
  • If one selection region exists (only 1 cursor), nothing happens "Nothing to transpose"
  • If two or more selection regions exist (no empty cursors), the selection regions are shifted clockwise. For example, say you have 4 selection regions (1, 2, 3, and 4). The content of 1 is moved to 2, the content of 2 is moved to 3, the content of 3 is moved to 4, and the content of 4 is moved to 1.
  • If one or more selection region is selected and one or more empty cursors exist, the empty cursors will select the surrounding word and then act as multiple normal selections.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.