在.vimrc中添加: "快捷键入当前日期: nmap <F1> oDate: <Esc>:read !date<CR>kJ 然后按F1时就会键入当前的日期了。 相关文章: 2021-11-02 2021-12-31