Mostly compiled by following Steve's tutorial.
A simple personal cheatsheet for fzf since I just started using it.
nano $(fzf)
ornano $(fzf --height 40%)
to search for a single file and open it in nano
fzf --preview 'less {}'
to display a preview of the currently selected file usingless
fzf --preview 'ls -hl {}'
to display information for the current file or directory (e.g. file size or edit date)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <SFML/Graphics.hpp> | |
int main() | |
{ | |
constexpr float width = 500; | |
constexpr float height = 400; | |
sf::RenderWindow window(sf::VideoMode(width, height), "It works!"); |