Vim: Difference between revisions
Jump to navigation
Jump to search
(Created page with " I include the following in my ~/.exrc file <code> function Log() :sp ~/Log :$ :silent r!date +\%n\%F.\%X\%t\%c :silent r!pwd endfunction map...") |
(No difference)
|
Latest revision as of 15:46, 23 September 2016
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