- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 1.4k
Multi-Cursor Mode v 2.0 #811
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
          
     Merged
      
      
    
  
     Merged
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            80 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      8544499
              
                Trigger Multi Cursor Mode when using multiple cursors.
              
              
                johnfn 8395150
              
                Add Multi Cursor Visual Mode.
              
              
                johnfn b6d54fa
              
                Renaming.
              
              
                johnfn 74a1034
              
                Make motions work in Multi Cursor mode.
              
              
                johnfn e485dc6
              
                Make escape work in Multi Cursor Mode.
              
              
                johnfn d0c12ba
              
                Fix visual mode.
              
              
                johnfn 98bc06e
              
                Delete operator works in Multi Cursor Mode.
              
              
                johnfn c4c4a2d
              
                Fix cursor adjustment when leaving multi cursor visual mode
              
              
                johnfn c821f20
              
                Commands are starting to work.
              
              
                johnfn e617e5f
              
                Stay in multi-cursor after an action.
              
              
                johnfn 02f6011
              
                Refactor; simplify logic; remove extraneous modes.
              
              
                johnfn e9a0e13
              
                Display in status bar
              
              
                johnfn 270f985
              
                Insertion works in multi-cursor mode.
              
              
                johnfn f4da6ea
              
                Draw every block cursor in multi visual mode.
              
              
                johnfn 9ce3c92
              
                / actually works in multi cursor.
              
              
                johnfn 8e6bae5
              
                Fix esc in multi cursor mode.
              
              
                johnfn 234040a
              
                Minor changes
              
              
                johnfn e443d9f
              
                Add yank in multi cursor mode.
              
              
                johnfn 2cdc557
              
                Fix escape wonkiness
              
              
                johnfn df6e9bc
              
                Fix some bugs where start position wasn't being set correctly.
              
              
                johnfn a1d6f0a
              
                Minor changes.
              
              
                johnfn 813ffd1
              
                Fix a bug with very fast insertions.
              
              
                johnfn fe64d1f
              
                Add helpful comment.
              
              
                johnfn d814c13
              
                Refactor parallel array to range.
              
              
                johnfn 96c3bce
              
                Rethink execCount on BaseCommands.
              
              
                johnfn 738b89c
              
                Start to separate out text transformations from action specifications.
              
              
                johnfn edc93fa
              
                Fix some calls.
              
              
                johnfn c1b0d2e
              
                Calculate new position of cursor based on insetion deltas
              
              
                johnfn 990c7ca
              
                Fix bug with inserting multiple times on same line.
              
              
                johnfn 3431ad6
              
                Fix cursor merging bug
              
              
                johnfn b4bad99
              
                Go back to normal mode when only 1 cursor.
              
              
                johnfn 4f82591
              
                Always keep all cursors in bounds.
              
              
                johnfn a552ac1
              
                Fix count-prefixed motions.
              
              
                johnfn 29c4fbd
              
                Merge branch 'master' into multi-cursor-mode
              
              
                johnfn 04b0aa2
              
                Make tests work better.
              
              
                johnfn 7c8e1ec
              
                Make multi-insertion sorta work with multi-line.
              
              
                johnfn 49d2c92
              
                Make O work in both normal and multi-cursor mode.
              
              
                johnfn e15bcf1
              
                Fix inserting more than 3 newlines.
              
              
                johnfn 69d8df8
              
                Refactoring.
              
              
                johnfn 816c303
              
                Refactor and remove a lot of code
              
              
                johnfn f8dde28
              
                Fix multi-cursor delete.
              
              
                johnfn 3dca11b
              
                Store cursor position correctly in undo/redo
              
              
                johnfn 2e5a7e3
              
                Fix y and p.
              
              
                johnfn 1a26724
              
                Fix visual block mode
              
              
                johnfn 63dc583
              
                Fix bug with o.
              
              
                johnfn 36c69d8
              
                Fix cursor bounding problem
              
              
                johnfn 55ac615
              
                Fix & speed up a lot of tests.
              
              
                johnfn 779ad9d
              
                Fix o/O
              
              
                johnfn 03eaace
              
                Fix bug with o/O
              
              
                johnfn 6c40dcd
              
                Fix issue with .
              
              
                johnfn 11d6214
              
                Really fix . this time.
              
              
                johnfn 227882d
              
                Fix a bunch more tests.
              
              
                johnfn 9765644
              
                Fix test race condition in worst possible way
              
              
                johnfn 16c5da0
              
                Merge branch 'master' into multi-cursor-mode
              
              
                johnfn 0aef37a
              
                Fix all tslint issues
              
              
                johnfn 5e10ca1
              
                Fix visual block mode.
              
              
                johnfn 74930e3
              
                Fix repeating in replace mode.
              
              
                johnfn feb74e6
              
                Fix ~
              
              
                johnfn 7f278d1
              
                Move replace mode to new text transformation style.
              
              
                johnfn f00c8d3
              
                Completely fix replace mode & add documentation.
              
              
                johnfn bdb3864
              
                Merge branch 'master' into multi-cursor-mode
              
              
                johnfn 8a0a247
              
                Fix an old bad merge.
              
              
                johnfn 11073c7
              
                Fix movements that use vimstate.CursorPosition in multi cursor mode.
              
              
                johnfn e8b3939
              
                Minor text updates
              
              
                johnfn 49b3b2f
              
                Fix remapping in multi-cursor mode.
              
              
                johnfn 37d8c4a
              
                Fix : in multi-cursor mode.
              
              
                johnfn 26b35b8
              
                Fix character replace in multi-cursor mode.
              
              
                johnfn d1be4b6
              
                Fix stacked cursor problem.
              
              
                johnfn 7f2798e
              
                Make Ranges immutable.
              
              
                johnfn fc5134e
              
                Fix x/d in Visual Block Mode.
              
              
                johnfn aae75ba
              
                Fix c in visual block mode.
              
              
                johnfn 1a501fc
              
                Fix change operator in visual block mode
              
              
                johnfn 9775671
              
                Fix C/c in Visual Block Mode.
              
              
                johnfn cb5719e
              
                Fix replace in visual block mode.
              
              
                johnfn 80954f7
              
                Fix bug with inserting text.
              
              
                johnfn 997f5da
              
                Fix replace in Visual Block Mode.
              
              
                johnfn 8cbd156
              
                Fix x in visual block mode.
              
              
                johnfn 2430e3f
              
                Merge branch 'master' into multi-cursor-mode-simple
              
              
                johnfn 3d57c89
              
                Bring engine version up to 1.5.0.
              
              
                johnfn 62139b5
              
                Fix some dumb travis stuff
              
              
                johnfn File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -1,8 +1,10 @@ | ||
| out | ||
| testing | ||
| node_modules | ||
| *.sw? | ||
| .vscode-test | ||
| .DS_Store | ||
| *.vsix | ||
| *.log | ||
| testing | ||
| test2 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
      
      Oops, something went wrong.
        
    
  
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we be checking in these settings? They are very much user-specific.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My settings.json is objectively the best though... 😉
Okay, okay, we should probably add it to .gitignore. :P