PSFzf
Rectangle
PSFzf | Rectangle | |
---|---|---|
5 | 724 | |
718 | 24,493 | |
- | - | |
6.8 | 8.5 | |
14 days ago | 6 days ago | |
PowerShell | Swift | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
PSFzf
-
Tools to achieve a 10x developer workflow on Windows
Sets up PSFzf: PowerShell wrapper for fzf, for fuzzy finding files and directories
- GitHub – kelleyma49/PSFzf: A PowerShell wrapper around the fuzzy finder fzf
-
8 tips for setting up PowerShell on Windows
# To make ZLocation module work in every PowerShell instance. Import-Module ZLocation # PSFzf has undocumented option to use fd executable for # file and directory searching. This enables that option. Set-PsFzfOption -EnableFd:$true # Custom function to SetLocation, because PSFzf uses # Get-ChildItem which doesn't use fd and doesn't use # ignore files. Invoke-FuzzySetLocation is defined here # https://github.com/kelleyma49/PSFzf/blob/b97263a30addd9a2c84a8603382c92e4e6de0eeb/PSFzf.Functions.ps1#L142 # # This implementation is for setting FileSystem location # and implementation uses parts of # https://github.com/kelleyma49/PSFzf/blob/b97263a30addd9a2c84a8603382c92e4e6de0eeb/PSFzf.Base.ps1#L20 # https://github.com/kelleyma49/PSFzf/blob/b97263a30addd9a2c84a8603382c92e4e6de0eeb/PSFzf.Base.ps1#L35 function Invoke-FuzzySetLocation2() { param($Directory = $null) if ($null -eq $Directory) { $Directory = $PWD.Path } $result = $null try { # Color output from fd to fzf if running in Windows Terminal $script:RunningInWindowsTerminal = [bool]($env:WT_Session) if ($script:RunningInWindowsTerminal) { $script:DefaultFileSystemFdCmd = "fd.exe --color always . {0}" } else { $script:DefaultFileSystemFdCmd = "fd.exe . {0}" } # Wrap $Directory in quotes if there is space (to be passed in fd) if ($Directory.Contains(' ')) { $strDir = """$Directory""" } else { $strDir = $Directory } # Call fd to get directory list and pass to fzf Invoke-Expression (($script:DefaultFileSystemFdCmd -f '--type directory {0} --max-depth 1') -f $strDir) | Invoke-Fzf | ForEach-Object { $result = $_ } } catch { } if ($null -ne $result) { Set-Location $result } } # Show tips about newly added commands function Get-Tips { $tips = @( [pscustomobject]@{ Command = 'fcd' Description = 'navigate to subdirectory' }, [pscustomobject]@{ Command = 'ALT+C' Description = 'navigate to deep subdirectory' }, [pscustomobject]@{ Command = 'z' Description = 'ZLocation' }, [pscustomobject]@{ Command = 'fz' Description = 'ZLocation through fzf' }, [pscustomobject]@{ Command = 'fe' Description = 'fuzzy edit file' }, [pscustomobject]@{ Command = 'fh' Description = 'fuzzy invoke command from history' }, [pscustomobject]@{ Command = 'fkill' Description = 'fuzzy stop process' }, [pscustomobject]@{ Command = 'fd' Description = 'find https://github.com/sharkdp/fd#how-to-use' }, [pscustomobject]@{ Command = 'rg' Description = 'find in files https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md' } ) Write-Output $tips | Format-Table } # Define aliases to call fuzzy methods from PSFzf New-Alias -Scope Global -Name fcd -Value Invoke-FuzzySetLocation2 -ErrorAction Ignore New-Alias -Scope Global -Name fe -Value Invoke-FuzzyEdit -ErrorAction Ignore New-Alias -Scope Global -Name fh -Value Invoke-FuzzyHistory -ErrorAction Ignore New-Alias -Scope Global -Name fkill -Value Invoke-FuzzyKillProcess -ErrorAction Ignore New-Alias -Scope Global -Name fz -Value Invoke-FuzzyZLocation -ErrorAction Ignore
-
Windows Terminal Quake Mode
Are you using PSFzf or something else? https://github.com/kelleyma49/PSFzf
-
PsFzf Open File / Open Directory
kelleyma49/PSFzf: A PowerShell wrapper around the fuzzy finder fzf — https://github.com/kelleyma49/PSFzf
Rectangle
-
Updating My Mac Window Shortcuts Strategy for Optimal Workflow
Rectangle’s installation is incredibly straightforward. Its immediate out-of-the-box functionality was a pleasant surprise. For anyone seeking to reduce the friction of window management on their Mac, Rectangle is a solution I wholeheartedly recommend.
-
How I stay (more) focused with ADHD
Tip: I use Rectangle app to set up keyboard shortcuts to resize windows (I only have three shortcuts there: left/right half of the screen and full screen).
-
Ideal Monitor Rotation for Programmers
But Raycast also has some functionality in that direction.
[1] - https://rectangleapp.com/
-
Little macOS Apps That Make a Big Difference in 2024
Two more little utilities that I cannot live without on Mac:
A tiling window manager like https://rectangleapp.com/
Muzzle, which automatically silences desktop notifs when you're screensharing https://muzzleapp.com/
-
Macbook M3 Max new MacOS user
I suggest using Rectangle instead of Magnet; it has the same features but is free. I don't know what other Windows features you want to have.
- Newb: ONE tip you can share that would make my Mac OS experience better?
-
Found this on Facebook and I've started questioning my life choices...
I’ve used this app forever. Adds in all the window snapping features.
-
Recommend apps for learning Macbook hotkeys and shortcuts coming from a Windows background.
third-party window management apps like Magnet and Rectangle
-
MacOS tools to make your life easier
Rectangle Mac - Move and resize windows in macOS using keyboard shortcuts or snap areas, similar to Windows.
-
Everything I install and set up on a new MacBook as a web developer
I was a Spectacle user for years, but I recently switched to using Rectangle for window management. Rectangle has a few more options than Spectacle; I’m still getting used to it but I have no strong feelings either way.
What are some alternatives?
winget-cli - WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
Amethyst - Automatic tiling window manager for macOS à la xmonad.
Windows Terminal - The new Windows Terminal and the original Windows console host, all in the same place!
yabai - A tiling window manager for macOS based on binary space partitioning
AutoHotkey - AutoHotkey - macro-creation and automation-oriented scripting utility for Windows.
alt-tab-macos - Windows alt-tab on macOS
PSGSuite - Powershell module for Google / G Suite API calls wrapped in handy functions. Authentication is established using a service account via P12 key to negate the consent popup and allow for greater handsoff automation capabilities
PlayCover - PlayCover is a project that allows you to sideload iOS apps on macOS (currently arm, Intel support will be tested)
Scoop - A command-line installer for Windows.
linux
Chocolatey - Chocolatey - the package manager for Windows
i3 - A tiling window manager for X11