💪💡 Daily Tricks and Tips
Clean email design
🏡 Home / ✨ General / 💪💡 Daily Tricks and TipsDaily Tricks and Tips 🌐
Browser Recommendation: Firefox 🦊
- Privacy-focused with built-in tracking protection
- Highly customizable with extensions
- Supports vertical tabs and container tabs
- Regular security updates
- Open-source, non-profit backed
- Allows full ad blocking
Essential Keyboard Controls ⌨️
Clipboard Management
- Windows + V: Opens Windows clipboard history - stores up to 25 recent items. Persist across restarts if pinned. Great for:
- Recovering text lost to accidental overwrites
- Copying multiple items before pasting
- Quick access to frequently used text snippets
- Example: Copy several code blocks, then paste them in different files
- Ctrl + Shift + V: Paste as plain text. Removes special formatting from source. (Look at you Office...)
Navigation
- Ctrl + Tab: Switch between tabs
- Ctrl + W: Close current tab
- Ctrl + Shift + T: Reopen closed tab
Tab Management
- Middle-click:
- Links: Open in new background tab
- Tabs: Close tab
- Reload: Reload in new tab (duplicate)
- Middle-click tab:
- Close Duplicate Tabs
- Mute Tab (Also click speaker on mouse hover)
History Navigation
- Back/Forward buttons:
- Hold to view recent pages
- Hover while holding to select
- Release to navigate
- Works in Chrome, Firefox, Edge
URL Bar Tricks
- Ctrl + L: Focus URL bar
- Ctrl + K: Focus search
- Type '@site': Search within specific site
Simple Text Editor Power Tricks 📝
Multi-line Editing (The Game Changer)
Ever need to edit multiple lines the same way? Multi-line editing lets you type once and change everything at once. It's like having multiple cursors working together.
Simple examples:
- Adding a dash before every line in a list
- Putting quotes around multiple items
- Adding commas at the end of each line
- Fixing formatting on multiple lines at once
How to do it:
- In Notepad++: Alt + Click for each line
- In Sublime Text: Alt + Click, or Ctrl + Alt + Up/Down
- In VS Code: Alt + Click, or Alt + Shift + Click
Find & Replace with Patterns (Starting Regex)
Regular expressions don't have to be scary. Let's start with a simple, useful pattern: (.*?)
This pattern is like a grabby hand:
- The
.*
means "grab any characters" - The
?
means "don't be greedy" (stop at the first match) - The
()
remembers what was grabbed
Real example with HTML:
<a href="https://example.com">Click here</a>
Using href="(.*?)"
will grab just the URL part.
This same pattern works for many similar tasks:
Getting text between quotes: "(.*?)"
Finding content between tags: <span>(.*?)</span>
Extracting values: price:(.*?)dollars
Think of it as a fill-in-the-blank tool. The (.*?)
is your blank, and you put what comes before and after around it. Use with Find/Replace to improve your editing skills.