bits 9

I have quite a bit lazyvim plugins but this keymapping, with its simplicity makes my life easier:

vim.keymap.set({ "n", "i" }, "<F2>", '<esc><esc>yy:r!<c-r>"')

I type a command, like ls to a line and hit <F2>. That line is copied to run and the output is read to buffer just under it.

I’m using it for all sorts of tasks, to get open PRs with gh to get website text with w3m. It made my life much easier. I’m now using the shell with textual notebooks.

/neovim/ /shell/