David Adam
writes:
>> No, what I mean is that ZSH has some kind of line editor prompt where
>> you can execute all command line editor commands by typing them in
>> (with completion), e.g., things like forward-char, kill-line, etc.
>> That's useful for finding out which editor commands exist and
On Sat, 30 Mar 2019, Tassilo Horn wrote:
> "Greg Reagle" writes:
> >> And while we are at the command line editor: is there no "command
> >> insert mode" where I could check out which editor commands are there
> >> and how they are named by tab-completing, e.g., what ZSH has bound to
> >> M-x.
> >
"Greg Reagle" writes:
Hi Greg,
> The above function sends "Hello" to standard output, it does not
> insert it into the command line. There is a command called
> 'commandline' for this purpose.
Ah, that's it:
function insert_file_fzf
commandline -a (fzf --layout=reverse-list)
end
b
On Sat, Mar 30, 2019, at 04:37, Tassilo Horn wrote:
> As a very simple test case not requiring fzf, I tried this:
>
> function insert_hello
> echo -n "Hello"
> end
> bind \co insert_hello
> So what am I doing wrong?
The above function sends "Hello" to standard output, it does not inse
Hi all,
I frequently use fzf for quickly finding files in projects like
$ emacsclient (fzf --options...)
I would like to make that a bit easier to type. Ideally, I'd like to
have a keybinding which would just insert '(fzf --options...)' at the
current position in the command line editor. B