Update cheatsheets

This commit is contained in:
ivuorinen
2025-06-26 00:20:38 +00:00
parent f4e4b40a39
commit 6771bea4b5
3 changed files with 38 additions and 1 deletions

18
tldr/gvim Normal file
View File

@@ -0,0 +1,18 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# gvim
> A Graphical User Interface version of Vim (Vi IMproved), a command-line text editor.
> See also: `vimdiff`, `vimtutor`, `nvim`, `vim`.
> More information: <https://www.vim.org>.
- Open `gvim`:
`gvim`
- Open a specific file:
`gvim {{path/to/file}}`

19
tldr/usleep Normal file
View File

@@ -0,0 +1,19 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# usleep
> Delay execution for a specific interval in microseconds.
> Largely deprecated in favor of `nanosleep`.
> See also: `sleep`, `nanosleep`.
> More information: <https://manned.org/usleep.1>.
- Delay in microseconds:
`usleep {{microseconds}}`
- Execute a specific command after a 500,000 microseconds delay:
`usleep 500000 && {{command}}`

View File

@@ -7,7 +7,7 @@ source: https://github.com/tldr-pages/tldr.git
> Vim (Vi IMproved), a command-line text editor, provides several modes for different kinds of text manipulation.
> Pressing `<i>` in normal mode enters insert mode. Pressing `<Esc>` goes back to normal mode, which enables the use of Vim commands.
> See also: `vimdiff`, `vimtutor`, `nvim`.
> See also: `vimdiff`, `vimtutor`, `nvim`, `gvim`.
> More information: <https://www.vim.org>.
- Open a file: