Today's #Neovim / #Vim related tip follows on from my suggestion to master command mode
(a.k.a : mode),
Read Appendix 1 of the UNIX Programming Environment. It explains how to use ed, which : mode is based on.
It's in the Internet Archive so I guess it's free to download now.
https://ia600400.us.archive.org/24/items/UnixProgrammingEnviornment/unix_programming_environment_text.pdf
You might also find ch 6 of Software Tools of interest if you really want to down a rathole.
https://www.google.com.au/books/edition/_/doVKAAAAMAAJ
=> More informations about this toot | More toots from alecthegeek@mstdn.social
[#]Neovim / #Vim top of the day.
You can jump around to specific lines numbers by hitting ":"
But how to know the line number?
Switch on line number display in your lua setup
vim.wo.number = true
In Vimscript its's
set number
=> More informations about this toot | More toots from alecthegeek@mstdn.social
Today's #Neovim tip is Neovim specific, because it's about writing Lua extensions. Sorry #Vim users.
I found (I mean the YouTube algo suggested) this cool vid on extending Telescope to display lists of Docker images and run containers.
So if you ever wondered how to write your own plugin...
https://youtu.be/HXABdG3xJW4?si=Nr4B1BsAPYeVBhSq
=> More informations about this toot | More toots from alecthegeek@mstdn.social
Todays' #Vim / #Noevim tip
(Maybe I should say "this month's tip" as it's been so long since the last one)
Open a ":" command or search history pane that you can scroll through.
q: to open the command history
and
q/ to open the search history
(I found these in old Google Keep note and I'd forgotten them)
More tomorrow
[#]nvim
=> More informations about this toot | More toots from alecthegeek@mstdn.social
@alecthegeek Thanks for reminding. I regularly forget about this one, too 😂
=> More informations about this toot | More toots from dubst3pp4@mastodon.sdf.org This content has been proxied by September (ba2dc).Proxy Information
text/gemini