mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-07 02:57:04 +00:00
Update cheatsheets
This commit is contained in:
18
tldr/gvim
Normal file
18
tldr/gvim
Normal 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
19
tldr/usleep
Normal 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}}`
|
||||||
2
tldr/vim
2
tldr/vim
@@ -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.
|
> 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.
|
> 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>.
|
> More information: <https://www.vim.org>.
|
||||||
|
|
||||||
- Open a file:
|
- Open a file:
|
||||||
|
|||||||
Reference in New Issue
Block a user