1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-02 22:58:01 +00:00
Files
til/vim/get-the-pid-of-the-session.md
2017-02-24 16:23:00 -06:00

313 B

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.