'Vim tricks you never heard of
- gg Go to top of file
- G Go to bottom of file
- g Ctrl+g File information at bottom
Deals with what "perceived lines" instead of real lines
- gj Go down what one line 'looks like' in vim even if it's the same line that wraps to multiple lines
- gk Go down what one line 'looks like' in vim even if it's the same line that wraps to multiple lines
- g$ Jump to end of "perceived line"
- g0 Jump to start of "perceived line"
- gq [text object] Split long lines up so that they won't need to wrap (based on your vim window's length, but still split lines if >80 characters)
- gJ Combine selected lines (or current and next line, if nothing selected) into one w/o spaces in between
Capitazization
- gu [text object] Uncapitalize text object
- gU [text object] Capitalize text object
- ~ Switch capitalization of letter
- g~ [text object] Switch capitalization of text object
Misc
- gf Open relative/absolute filename that the cursor is on
- gv Reselect last selected text
- :help g Automated bot designed to replace Luke Smith's vim videos
Substitution
- : s/OldText/NewText/g Replace OldText with NewText only on this line
- g& Run the line substitution on the entire file
Source : https://videos.lukesmith.xyz/videos/watch/d6f033e7-2c3f-421b-a8b3-cdb76967a7dc
- gg Go to top of file
- G Go to bottom of file
- g Ctrl+g File information at bottom
Deals with what "perceived lines" instead of real lines
- gj Go down what one line 'looks like' in vim even if it's the same line that wraps to multiple lines
- gk Go down what one line 'looks like' in vim even if it's the same line that wraps to multiple lines
- g$ Jump to end of "perceived line"
- g0 Jump to start of "perceived line"
- gq [text object] Split long lines up so that they won't need to wrap (based on your vim window's length, but still split lines if >80 characters)
- gJ Combine selected lines (or current and next line, if nothing selected) into one w/o spaces in between
Capitazization
- gu [text object] Uncapitalize text object
- gU [text object] Capitalize text object
- ~ Switch capitalization of letter
- g~ [text object] Switch capitalization of text object
Misc
- gf Open relative/absolute filename that the cursor is on
- gv Reselect last selected text
- :help g Automated bot designed to replace Luke Smith's vim videos
Substitution
- : s/OldText/NewText/g Replace OldText with NewText only on this line
- g& Run the line substitution on the entire file
Source : https://videos.lukesmith.xyz/videos/watch/d6f033e7-2c3f-421b-a8b3-cdb76967a7dc
Forwarded from Hacker News
Forwarded from FOSS Memes
artix_solar_neon-1920x1080.png
144 KB
artix #artwork
solar neon flames
solar neon flames
How to enable native dark mode in chrome, chromium or brave?
- In url bar type
- search for
- In url bar type
chrome://flags
- search for
dark mode
-make Force Dark Mode for Web Contents enable
Book Review: A Philosophy of Software Design
https://johz.bearblog.dev/book-review-philosophy-software-design/
https://johz.bearblog.dev/book-review-philosophy-software-design/
https://file.pizza
Share your files like pizza
Share your files like pizza
file.pizza
FilePizza • Your files, delivered.
Peer-to-peer file transfers in your web browser.
Why is government and administrations NOT moving to Linux?
https://youtu.be/9Ki3VUS_znA
https://youtu.be/9Ki3VUS_znA
YouTube
Why are governments and administrations NOT moving to Linux?
Improve your VM patching workflow with QEMUCare: https://tuxcare.com/live-patching-services/qemucare/#features
You might have wondered why public administrations don't all use Linux, like the Police, the tax services, the health services, and all other government…
You might have wondered why public administrations don't all use Linux, like the Police, the tax services, the health services, and all other government…
dwmc export dwm hotkeys to external hotkeys
https://dwm.suckless.org/patches/dwmc/
example for sxhkd https://github.com/danielpza/dotfiles/blob/master/dwm/etc/xdg/sxhkd/sxhkdrc#L24
https://dwm.suckless.org/patches/dwmc/
example for sxhkd https://github.com/danielpza/dotfiles/blob/master/dwm/etc/xdg/sxhkd/sxhkdrc#L24
GitHub
dotfiles/sxhkdrc at master · danielpza/dotfiles
My dotfiles. Contribute to danielpza/dotfiles development by creating an account on GitHub.
Forwarded from GitHub repos
zesterer/ariadne
A fancy diagnostics & error reporting crate
Language: Rust
#rust #parser #compiler #error #error_messages #diagnostics #error_reporting
Stars: 177 Issues: 1 Forks: 1
https://github.com/zesterer/ariadne
A fancy diagnostics & error reporting crate
Language: Rust
#rust #parser #compiler #error #error_messages #diagnostics #error_reporting
Stars: 177 Issues: 1 Forks: 1
https://github.com/zesterer/ariadne
GitHub
GitHub - zesterer/ariadne: A fancy diagnostics & error reporting crate
A fancy diagnostics & error reporting crate. Contribute to zesterer/ariadne development by creating an account on GitHub.
Forwarded from Находки в опенсорсе
A utility tool powered by fzf for using git interactively.
This tool is designed to help you use git more efficiently. It's lightweight and easy to use.
Also integrates with: diff-so-fancy, delta, bat, emoji-cli.
https://github.com/wfxr/forgit
#shell #git
This tool is designed to help you use git more efficiently. It's lightweight and easy to use.
Also integrates with: diff-so-fancy, delta, bat, emoji-cli.
https://github.com/wfxr/forgit
#shell #git
Forwarded from Находки в опенсорсе
A bulk renaming #rust tool for files.
Features:
- Rename one or several patterns in your files using the powerful Rust regex engine.
- Add an increment as a prefix or suffix to files.
https://github.com/adriangoransson/renamer
Features:
- Rename one or several patterns in your files using the powerful Rust regex engine.
- Add an increment as a prefix or suffix to files.
https://github.com/adriangoransson/renamer