Cheatography
                https://cheatography.com
            
        
        
    
                   
                            
    
                    A list of commands for my vim plugins and terminal
                    
                 
                    
        
        
            
    
        
                            
        
                
        
            
                                
            
                
                                                
                                
    
    
            fugitive
        
                        
                                                                                    
                                                                                            :Git [command]  | 
                                                                                                                        Any arbitrary git command  | 
                                                                                 
                                                                                            
                                                                                            :Gstatus  | 
                                                                                                                        Git status, g? for commands  | 
                                                                                 
                                                                                            
                                                                                            :Gdiff  | 
                                                                                                                        See diff or open conflict resolution  | 
                                                                                 
                                                                                            
                                                                                            :Gread  | 
                                                                                                                        Take content from other window  | 
                                                                                 
                                                                                            
                                                                                            :Gwrite  | 
                                                                                                                        Insert content into other window  | 
                                                                                 
                                                                                            
                                                                                            dp  | 
                                                                                                                        Put specific conflict line into resolved version  | 
                                                                                 
                                                                                            
                                                                                            :Gblame  | 
                                                                                                                        Git blame, g? for commands  | 
                                                                                 
                                                                                            
                                                                                            :Gremove  | 
                                                                                                                        Remove locally and from repo  | 
                                                                                 
                                                                                            
                                                                                            :Gmove  | 
                                                                                                                        Rename file locally and in repo  | 
                                                                                 
                                                                                            
                                                                                            :Gpush  | 
                                                                                                                        Push changes to remote  | 
                                                                                 
                                                                                            
                                                                                            :Glog  | 
                                                                                                                        See file history, :cnext/:cprev/:Gedit  | 
                                                                                 
                                                                         
                             
    
    
            vim-surround
        
                        
                                                                                    
                                                                                            ds[curr]  | 
                                                                                                                        Delete surrounding [curr]s  | 
                                                                                 
                                                                                            
                                                                                            cs[curr][new]  | 
                                                                                                                        Swap surrounding [curr]s for [new]s  | 
                                                                                 
                                                                                            
                                                                                            cst[new]  | 
                                                                                                                        Swap surrounding html tag for [new]  | 
                                                                                 
                                                                                            
                                                                                            ysiw[new]  | 
                                                                                                                        Surround word with [new]s  | 
                                                                                 
                                                                                            
                                                                                            yss[new]  | 
                                                                                                                        Surround line wiht [new]s  | 
                                                                                 
                                                                         
                             
                             | 
                                                                              | 
                                                        
                                
    
    
            multiple-cursors
        
                        
                                                                                    
                                                                                            Ctrl-n  | 
                                                                                                                        cursor on next word  | 
                                                                                 
                                                                                            
                                                                                            Ctrl-p  | 
                                                                                                                        cursor on previous word  | 
                                                                                 
                                                                                            
                                                                                            Ctrl-x  | 
                                                                                                                        cursor skips current word  | 
                                                                                 
                                                                         
                             
    
    
            easy-align
        
                        
                                                                                    
                                                                                            Enter  | 
                                                                                                                        Interactive Mode  | 
                                                                                 
                                                                                            
                                                                                            Enter + ctrl-r  | 
                                                                                                                        Set right margin  | 
                                                                                 
                                                                                            
                                                                                            Enter + ctrl-l  | 
                                                                                                                        Set left margin  | 
                                                                                 
                                                                                            
                                                                                            Enter + ctrl-/  | 
                                                                                                                        Align on regex  | 
                                                                                 
                                                                                            
                                                                                            Enter + ctrl-a  | 
                                                                                                                        Alignment mode  | 
                                                                                 
                                                                                            
                                                                                            Enter + ctrl-u  | 
                                                                                                                        Do not ignore unmatched  | 
                                                                                 
                                                                         
                             
    
    
            Ctrl-P
        
                        
                                                                                    
                                                                                            ctrl-p  | 
                                                                                                                        Open Ctrl-P Fuzzy Search  | 
                                                                                 
                                                                                            
                                                                                            ctrl-d  | 
                                                                                                                        Toggle full-path and filename  | 
                                                                                 
                                                                                            
                                                                                            ctrl-r  | 
                                                                                                                        Toggle string and regex mode  | 
                                                                                 
                                                                                            
                                                                                            ctrl-f/b  | 
                                                                                                                        Scroll buffer, mru, files  | 
                                                                                 
                                                                                            
                                                                                            ctrl-j/k  | 
                                                                                                                        Scroll matches  | 
                                                                                 
                                                                                            
                                                                                            ctrl-o  | 
                                                                                                                        Mark file to be opened  | 
                                                                                 
                                                                                            
                                                                                            ctrl-y  | 
                                                                                                                        Create file  | 
                                                                                 
                                                                                            
                                                                                            <space>,  | 
                                                                                                                        Buffer Search  | 
                                                                                 
                                                                         
                             
                             | 
                                                                              | 
                                                        
                                
    
    
            vim-easymotion
        
                        
                                                                                    
                                                                                            <Space>[motion]  | 
                                                                                                                        Move large [motion] distances  | 
                                                                                 
                                                                                            
                                                                                            <Space>s  | 
                                                                                                                        Search for pattern  | 
                                                                                 
                                                                         
                             
    
    
            vim-signature
        
                        
                                                                                    
                                                                                            m[A-Za-z0-9]  | 
                                                                                                                        Set mark  | 
                                                                                 
                                                                                            
                                                                                            m,  | 
                                                                                                                        Set next available mark  | 
                                                                                 
                                                                                            
                                                                                            m.  | 
                                                                                                                        Place next available mark or clear  | 
                                                                                 
                                                                                            
                                                                                            ]'  | 
                                                                                                                        Next mark  | 
                                                                                 
                                                                                            
                                                                                            ['  | 
                                                                                                                        Previous mark  | 
                                                                                 
                                                                                            
                                                                                            '?  | 
                                                                                                                        List marks  | 
                                                                                 
                                                                                            
                                                                                            `[A-Za-z0-9]  | 
                                                                                                                        Go to mark  | 
                                                                                 
                                                                                            
                                                                                            m<Space>  | 
                                                                                                                        Clear all marks  | 
                                                                                 
                                                                         
                             
    
    
            NERDTree
        
                        
                                                                                    
                                                                                            P  | 
                                                                                                                        Go to root directory  | 
                                                                                 
                                                                                            
                                                                                            p  | 
                                                                                                                        Go to parent directory  | 
                                                                                 
                                                                                            
                                                                                            K  | 
                                                                                                                        Go to first child  | 
                                                                                 
                                                                                            
                                                                                            J  | 
                                                                                                                        Go to last child  | 
                                                                                 
                                                                                            
                                                                                            C  | 
                                                                                                                        Change root directory to highlighted  | 
                                                                                 
                                                                                            
                                                                                            u  | 
                                                                                                                        Move tree root up one directory  | 
                                                                                 
                                                                         
                             
                             | 
                                                            
            
                            
            
            
        
        
        
        
        
            
    
        
          
        
         
Created By
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets
More Cheat Sheets by Nuggles