Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add VIM shortcuts shortcuts.md #11

Merged
merged 4 commits into from
Mar 14, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions shortcuts.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,24 @@ Here are some useful macOS shortcuts to help you work more efficiently.
- **⌘ + ⇧ + R**: Reload your current page, ignoring cached content. Useful for developers or when updating content doesn't seem to appear.
- **⌘ + P**: Print the current page. For when you need a physical copy of a webpage.
- **⌘ + F**: Open the find bar to search for text within the current page. Helps locate specific information on a webpage quickly.

## VIM

- **:wq**: Save and close editor.
- **:56**: Jump to line 56
- **fa**: Jump forward to letter 'a' on same line
- **⌃ + D**: Jump down half a page
- **^ + U**: Jump up half a page
- **vit**: Select inside tag
- **vat**: Select around tag
- **cit**: Change inside tag
- **dat**: Delte around tag

- **Find and Replace**
- **/foo**: Search for Foo
- **n**: Next occurence
- **N**: Previous occurence

- [surround.vim](https://github.com/tpope/vim-surround)
- **cs"'**: Change " to '
- **ds"**: Remove " around selection
Loading