Vim
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