Commits

ZyX_I  committed cf0acdb

@aurum: Added Aurum Push and Pull mappings

  • Participants
  • Parent commits 1b46706

Comments (0)

Files changed (2)

File doc/aurum.txt

                       *g:frawormap_Aurum_Log*    *g:frawormap_Aurum_LogFile*
                       *g:frawormap_Aurum_URL*    *g:frawormap_Aurum_LineURL*
                       *g:frawormap_Aurum_Track*  *g:frawormap_Aurum_Forget*
+                      *g:frawormap_Aurum_Push*   *g:frawormap_Aurum_Pull*
                       *g:frawormap_Aurum_FVdiff*     *aurum-m-Aurum-FVdiff*
                           *aurum-m-Aurum_Commit*     *aurum-m-Aurum_CommitAll*
                           *aurum-m-Aurum_ROpen*      *aurum-m-Aurum_Revert*
                           *aurum-m-Aurum_Log*        *aurum-m-Aurum_LogFile*
                           *aurum-m-Aurum_URL*        *aurum-m-Aurum_LineURL*
                           *aurum-m-Aurum_Track*      *aurum-m-Aurum_Forget*
+                          *aurum-m-Aurum_Push*       *aurum-m-Aurum_Pull*
 Mapname    LHS  Command     Description ~
 Commit      i   AuCommit    Commit changes to current file
-CommitAll   I   AuCommit**  Commit changes to all files
+CommitAll   I   AuCommit ** Commit changes to all files
 ROpen       o   AuFile      View contents of the current file as it was at the 
                             the working directory revision
 Revert      O   AuFile . : replace
 Forget      R   AuJunk forget :
                             Make VCS forget current file (it won’t remove the 
                             file though)
+Push        P   AuOther push
+                            Push new commits to remote repository.
+Pull        p   AuOther push | AuUpdate
+                            Pull new commits from remote repository and 
+                            perform an update.
 
 ==============================================================================
 4. Options                                                     *aurum-options*

File plugin/aurum.vim

     call FraworLoad('@/mappings')
     " TODO mapping that closes status window
     call s:_f.mapgroup.add('Aurum', {
-                \'Commit':    {'lhs':  'i', 'rhs': ':<C-u>AuCommit<CR>'          },
-                \'CommitAll': {'lhs':  'I', 'rhs': ':<C-u>AuCommit **<CR>'       },
-                \'ROpen':     {'lhs':  'o', 'rhs': ':<C-u>AuFile<CR>'            },
-                \'Revert':    {'lhs':  'O', 'rhs': ':<C-u>AuFile . : replace<CR>'},
-                \'Vdiff':     {'lhs':  'D', 'rhs': ':<C-u>AuVimDiff<CR>'         },
-                \'FVdiff':    {'lhs': 'gD', 'rhs': ':<C-u>AuVimDiff full<CR>'    },
-                \'Diff':      {'lhs':  'd', 'rhs': ':<C-u>AuDiff :<CR>'          },
-                \'Fdiff':     {'lhs': 'gd', 'rhs': ':<C-u>AuDiff<CR>'            },
-                \'Annotate':  {'lhs':  'a', 'rhs': ':<C-u>AuAnnotate<CR>'        },
-                \'Status':    {'lhs':  's', 'rhs': ':<C-u>AuStatus|wincmd p<CR>' },
-                \'Record':    {'lhs':  'r', 'rhs': ':<C-u>AuRecord<CR>'          },
-                \'Log':       {'lhs':  'L', 'rhs': ':<C-u>AuLog<CR>'             },
-                \'LogFile':   {'lhs':  'l', 'rhs': ':<C-u>AuLog : files :<CR>'   },
-                \'URL':       {'lhs':  'H', 'rhs': ':<C-u>AuHyperlink<CR>'       },
-                \'LineURL':   {'lhs':  'h', 'rhs': ':<C-u>AuHyperlink line 0<CR>'},
-                \'Track':     {'lhs':  'A', 'rhs': ':<C-u>AuTrack<CR>'           },
-                \'Forget':    {'lhs':  'R', 'rhs': ':<C-u>AuJunk forget :<CR>'   },
+                \'Commit':    {'lhs':  'i', 'rhs': ':<C-u>AuCommit<CR>'               },
+                \'CommitAll': {'lhs':  'I', 'rhs': ':<C-u>AuCommit **<CR>'            },
+                \'ROpen':     {'lhs':  'o', 'rhs': ':<C-u>AuFile<CR>'                 },
+                \'Revert':    {'lhs':  'O', 'rhs': ':<C-u>AuFile . : replace<CR>'     },
+                \'Vdiff':     {'lhs':  'D', 'rhs': ':<C-u>AuVimDiff<CR>'              },
+                \'FVdiff':    {'lhs': 'gD', 'rhs': ':<C-u>AuVimDiff full<CR>'         },
+                \'Diff':      {'lhs':  'd', 'rhs': ':<C-u>AuDiff :<CR>'               },
+                \'Fdiff':     {'lhs': 'gd', 'rhs': ':<C-u>AuDiff<CR>'                 },
+                \'Annotate':  {'lhs':  'a', 'rhs': ':<C-u>AuAnnotate<CR>'             },
+                \'Status':    {'lhs':  's', 'rhs': ':<C-u>AuStatus|wincmd p<CR>'      },
+                \'Record':    {'lhs':  'r', 'rhs': ':<C-u>AuRecord<CR>'               },
+                \'Log':       {'lhs':  'L', 'rhs': ':<C-u>AuLog<CR>'                  },
+                \'LogFile':   {'lhs':  'l', 'rhs': ':<C-u>AuLog : files :<CR>'        },
+                \'URL':       {'lhs':  'H', 'rhs': ':<C-u>AuHyperlink<CR>'            },
+                \'LineURL':   {'lhs':  'h', 'rhs': ':<C-u>AuHyperlink line 0<CR>'     },
+                \'Track':     {'lhs':  'A', 'rhs': ':<C-u>AuTrack<CR>'                },
+                \'Forget':    {'lhs':  'R', 'rhs': ':<C-u>AuJunk forget :<CR>'        },
+                \'Push':      {'lhs':  'P', 'rhs': ':<C-u>AuOther push<CR>'           },
+                \'Pull':      {'lhs':  'p', 'rhs': ':<C-u>AuOther pull | AuUpdate<CR>'},
             \}, {'mode': 'n', 'silent': 1, 'leader': '<Leader>a'})
     "▲2
     finish