Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 313 Bytes

get-the-pid-of-the-session.md

File metadata and controls

14 lines (9 loc) · 313 Bytes

Get The pid Of The Session

Your current Vim session is a process running on your machine. That means that this session is tied to a particular process id, pid.

Want to know what the pid is?

:echo getpid()

This will echo the pid of your current Vim session.

See :h getpid() for more details.