1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-08 09:38:04 +00:00

Add Get The pid Of The Session as a vim til

This commit is contained in:
jbranchaud
2017-02-24 16:23:00 -06:00
parent 39916e0766
commit bab923e17d
2 changed files with 16 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
# 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?
```vim
:echo getpid()
```
This will echo the pid of your current Vim session.
See `:h getpid()` for more details.