Cheatography
                https://cheatography.com
            
        
        
    
                   
                            
    
                    CheatSheet about my plugin installation
                    
                 
                    
        
        
            
    
        
                            
        
                
        
            
                                
            
                
                                                | vim-fugitive
                        
                                                                                    
                                                                                            | Plugin | Git | Shortcut | Explaination |  
                                                                                            | :Gstatus |  | <leader>gs | Open a new buffer with git output |  
                                                                                            | :Gcmd |  | NOPE | Replace cmd by a git command. It does the same thing (opening buffer when needed) |  xmledit
                        
                                                                                    
                                                                                            | Command | Explanation |  
                                                                                            | \d | Delete surrounding tag |  
                                                                                            | \x | Add surrounding tag |  
                                                                                            | \c | Add comment |  
                                                                                            | \u | Remove comment |  nerdcommenter
                        
                                                                                    
                                                                                            | Command | Info |  
                                                                                            | <leader>cc | comment selection |  
                                                                                            | <leader>cn | comment selection nesting (add commentary even if the line is comment) |  
                                                                                            | <leader>cs | comment sexily |  
                                                                                            | <leader>cy | as cc, but yank before |  
                                                                                            | <leader>c$ | comment current line |  
                                                                                            | <leader>cA | comment append |  c_snippet
                        
                                                                                    
                                                                                            | def | #if | inc |  
                                                                                            | Inc | mark | once |  
                                                                                            | en | st | un |  
                                                                                            | td | for | do |  
                                                                                            | wh | if | elif |  
                                                                                            | else | fprintf | printf |  
                                                                                            | main | vmain |  cpp_snippet
                        
                                                                                    
                                                                                            | (SEE C SNIPPETS) | beginend | cl |  
                                                                                            | ns | tp |  |  | vim-surround
                        
                                                                                    
                                                                                            | Plugin | Shortcut |  
                                                                                            | Delete surround | ds<target> |  
                                                                                            | Change surround | cs<target><new> |  
                                                                                            | New surround | ys<vim_move><new> |  
                                                                                            | Surround current character | yS<new> |  
                                                                                            | Surround current line | ySS*<new> |  *A shortcut t is given for any tag for <target>  and <new> . 
Example :  * <new>dst
 : 
- opening : surround with space 
- closing   : surround without nerdtree
                        
                                                                                    
                                                                                            | Command on node | Explanation |  
                                                                                            | o | open files/directories |  
                                                                                            | go | same but leave cursor in NERDTree |  
                                                                                            | t | open in new tab |  
                                                                                            | gt | same but stay in NERDTree |  
                                                                                            | i | split |  
                                                                                            | gi | same but stay in NERDTree |  
                                                                                            | s | vsplit |  
                                                                                            | gs | same but stay in NERDTree |  
                                                                                            | x | close the current node parent |  
                                                                                            | X | close recursively |  
                                                                                            | P | jump to root node |  
                                                                                            | p | jump to currents node parent |  vimshell
                        
                                                                                    
                                                                                            | Shortcut | Command |  
                                                                                            | <leader>vsn | :VimShell -toggle -split |  
                                                                                            | <leader>vsi | :VimShellInteractive |  
                                                                                            | <leader>vss | :VimShellSendString |  easymotion
                        
                                                                                    
                                                                                            | shortcut | details |  
                                                                                            | <leader>fc | find the character c to the right |  
                                                                                            | <leader>Fc | to the left |  
                                                                                            | <leader>tc | before the character c to the right |  
                                                                                            | <leader>Tc | to the left |  
                                                                                            | <leader>w | beg of word forward |  
                                                                                            | <leader>W | beg of WORD forward |  
                                                                                            | <leader>b | beg of word backward |  
                                                                                            | <leader>B | beg of WORD backward |  
                                                                                            | <leader>e | end of word |  
                                                                                            | <leader>E | end of WORD |  
                                                                                            | <leader>ge | end of word backward |  
                                                                                            | <leader>gE | end of WORD backward |  
                                                                                            | <leader>j | line downward |  
                                                                                            | <leader>k | line upward |  
                                                                                            | <leader>n | jump to latest / or ? forward |  
                                                                                            | <leader>N | jump to latest / or ? backward |  
                                                                                            | <leader>s | Find(search) {char} f&b |  | 
            
                            
            
            
        
        
        
        
        
            
    
        
          
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets