---
title: "Discussion on \"Easiest Way to Add Date in a File in Vim/Neovim\" | Hashnode"
description: "Discussion on \"Easiest Way to Add Date in a File in Vim/Neovim\". To add the current date and time to a file in Vim / Neovim use the following command in command mode\n:.!date"
url: "https://hashnode.com/posts/easiest-way-to-add-date-in-a-file-in-vimneovim/64926537c2653e68cf549e84"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Easiest Way to Add Date in a File in Vim/Neovim](https://blogs.chaitanyashahare.com/easiest-way-to-add-date-in-a-file-in-vimneovim?utm_source=hashnode&utm_medium=feed)

To add the current date and time to a file in Vim / Neovim use the following command in command mode :.!date

Jun 21, 2023 · 1 min read · blogs.chaitanyashahare.com  
Read the article

## Written by

[Chaitanya Shahare](https://hashnode.com/@Chaitanyashahare)

@Chaitanyashahare · Mumbai, India

  
[View profile](https://hashnode.com/@Chaitanyashahare)

Google Summer of Code '24 Contributor @ The LLVM Compiler Infrastructure

I'm an engineering senior at National Institute of Technology, Srinagar, India. I'm a developer, fitness aficionado, productivity enthusiast and a fellow nerd.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
