Today I discovered that I can open a nice floating Terminal in the middle of the screen by pressing Ctrl+\
Thanks to toggleterm plugin.
Earlier I used to use :terminal command, which would open a terminal in another tab. I had to switch tabs to use the terminal and going back to editing the files.
With toggleterm I press Ctrl+\, do my terminal tasks, and toggle it again to send it the background.
I’ve started watching this YouTube playlist Neovim from scratch
It is a great learning resource.
I use a program called espanso for hotkey expansion across the OS, that has emoji completion option. But it does not work with Vim. Maybe because of modal editing 🤷
While it took me some time to figure out, setting it up is quite straight forward.
Install the plugin. Add the following ‘~/.config/nvim/lua/user/plugins.lua’ file use "hrsh7th/cmp-emoji" -- Markdown emoji (Search for -- cmp plugins in the file)
On the Vim Telegram group, I came across this starter kit called Neovim from scratch
But this starter kit is different from others. Others are opinionated (with a good reason). This one seems like purpose built.
Purpose being - to teach the users what goes under the hood. So it comes with a YouTube series.
But ones doesn’t need to follow the YouTube series to use this. One can just clone the git repo and get going.
Today around 10am (or a bit earlier) we lost electricity at our house. Today is Thursday, and power loss isn’t surprising.
As far as I remember, my city always had scheduled power loss on Thursday. This used to happen every week when I was growing up. So much so, that my engineering college had Thursday as a weekly off, due to this. Over the years, things improved, but Thursday remained the day when local electricity company would could schedule the maintenance task.
Today I spent some time getting projectile equivalent working with LunarVim
At first I went with builtin/core plugin projects.nvim. Enabling it was quite straight forward. I wasn’t sure how to add new project.
Then I tried telescope-projects. Even here I could not add new project (Per their documentation, it is Ctrl-a in Insert mode, and just c in normal mode) But I just opened the project root I wanted to work on, and it got added to the list of projects.
For some time now, my KeepassXC browser extension keep informing that I’m using older version of KeepassXC I usually upgrade immediately, so I did. Or so I thought.
I saw the same warning couple of days later. I thought there was new version, but there wasn’t. So installed it again.
This happened one more time, and I realized that even after upgrade, KeepassXC remained at older version (2.66, but as you’ll see it doesn’t matter)
Once I got Neovide working with LunarVim, I realized that I had not updated LunarVim for a long time.
I was already in rolling branch, so I did git pull origin rolling
Big mistake.
Things broke.
After RTFM, I noticed that there is :LvimUpdate command in LunarVim.
But by this time, my config was so broken that nothing worked 😞
Luckily, I found the old instructions that helped me initially.
So I tried VimR for some time, but it always felt odd. Sure all the LunarVim keybindings worked. But VimR wasn’t just Neovim client. It comes with its own features like the side panes for Files, Buffers, Markdown etc.
Also, it won’t really quit. :q! would destroy the window, but it would remain in the dock.
So for main work, I used Emacs.
Then today in Doom Emacs Telegram group, someone started talking about Vim.
I just looked at the last post here. It was in late Feb 2022 I just realized that I have not posted anything in entire of March 2022
The reason for this microblog was to make it low-friction so that it does not go the way of my other blogs with month(s) long and sometime year long silence. But then why didn’t I post anything here for a month ?
I had almost given up trying to use lvim config with GUI. But I persisted (and pestered folks on github issue 🙂) Finally, I got it working.
I wrote about How to get VimR to use Lunarvim configuration so that others can also benefit from it.