HN user

Despacito2019

52 karma
Posts5
Comments24
View on HN

I love atuin but i am not quite as fond of the UI (only because i am not used to it), so i have my own little function to use atuin with fzf instead:

    insert_atuin_with_fzf () {
        local result
        result=$(atuin history list --reverse --format "{command}" | \
                awk '!seen[$0]++ && length($0) > 2 && !/^j /' | \
            fzf +s)
        [[ -n $result ]] && LBUFFER+="$result"
    }
    
    # Bind the widget to Ctrl-Q
    zle -N insert_atuin_with_fzf
    bindkey -M emacs '^q' insert_atuin_with_fzf
    bindkey -M emacs '^x^q' atuin-search

did you even try to read the web page documentation? or the previous answer to that same question you asked? it doesn't send anything by default...

Bye, Prime 1 year ago

I am based in europe and i am disgusted by the current us politics, i have sold all my US stocks (it's a large number) for the one i didn't loose too much to come back to EU based stocks....

I am reviewing all my spending to keep the bare necessary to don't go to the us, it's nothing compared to the greater thing but it makes me feel better and sleep at night

I used to be like you but I started to (wo)man up and read the emacs tutorial with the fantastic doom-emacs and now I can get myself around with Emacs and do OK with it!

(on a second thought I do miss n-pp)

When I saw that it was actually called Eclipsed Theia, the first things that come to my mind was some sort of java applet running eclipse in the browser. It is actually better than what it sounds... Hopefully the can grow up on their own outside of the eclipse foundation.