News for hackers. Stuff that matters.
Re:How to boost your Vim productivity by andrewstuart2 on Tuesday June 02, 2015 @11:52AM (#9646680)
One of my favorite bits for saving my own butt: commit more.

    "Function to commit.
    function! GitCommit ()
      execute 'write'
      let message = input('Enter commit message: ')
      execute '!git add ' . bufname('%') . ' && git commit -m ''' . message . ''';'
    endfunction
    
    imap <F7> <Esc>:call GitCommit()<CR>
    map <F7> <Esc>:call GitCommit()<CR>
Re:How to boost your Vim productivity by leephillips on Tuesday June 02, 2015 @12:37PM (#9647042)
Have you tried fugitive (a vim wrapper around git)?
Re:How to boost your Vim productivity by thekemkid on Tuesday June 02, 2015 @12:03PM (#9646752)
OMG, I need to add this to my .vimrc. Thanks :D