Vim

From Thom Group Wiki
Jump to navigation Jump to search

I include the following in my ~/.exrc file

  function Log()
     :sp ~/Log
     :$
     :silent r!date +\%n\%F.\%X\%t\%c
     :silent r!pwd
  endfunction
  map ;; :call Log()<CR>

This will cause the ~/Log file to be opened when ;; is pressed and can help you keep a logbook of commands

--ajwt3 (talk) 16:46, 23 September 2016 (BST)