Towards the beginning of the year, I had written about Fuzzy Search in fish For the better part of the year. I only used Ctrl-R functionality, that too occasionally.
Then today, I came across the same again, and after going through the README, I noticed at least one more useful keybinding.
git status normally would just list the modified files etc. To see what has changed, one needs to git diff <filename>
Continue Reading »
Helix is a great editor. I’m trying it more and more these days (Like this post is edited in helix)
While shift from action->object to object->action in itself is big change (muscle memory), there are indeed other differences as well.
Luckily, it is easy to add keybindings to helix. Turns out someone took this too far, and created a lot of keybindings to make helix more like Vim
Refer to this for the entire config.
Continue Reading »
Noticed that new version 22.08.1 of helix is now available. See this Upgrade via your preferred package manager.
After the upgrade, used hx after a long time.
I also signed up for the matrix channel. Turns out that is where all the action is.
I’m member of (almost-dead-but-not-quite) Telegram group for a while. But matrix channel seems active.
I got immediate reply to my query. Nice!
My query was : How do I go to the last line of the buffer ?
Continue Reading »
While I was searching for useful snippets for Markdown (I was specifically looking for snippet to insert current time.)
I came across this article.
To be honest, it feels like cheating. Like writing HTML manually. (With snippets, work could reduce)
ⓘ Info: I don't see myself using it often. Did you see what I did there 😉
If you are reading my posts, you would have realized that I had switched to nvim and went down the rabbit hole with different configurations etc. I think I got it to a stable state, and then I stopped tinkering.
But when I recently started coding again in Ruby, I realized that nvim is good as an editor, but at least I was not able to configure it as IDE. It has all the right tools (lsp, syntax highlighting, packages) yet something didn’t work 😞
Continue Reading »
I had written about Telekasten earlier, but in the context that I was unable to get it working with NVChad.
But I must confess, I almost forgot about it.
I should use it daily (as intended) to capture things I’m doing, where am I blocked, what unblocked me, make it as part of my daily workflow.
I have seen my colleague keeping a simple daily.txt file open in Sublime, and it works for them (I hope)
Continue Reading »
I had installed Wezterm long time ago. I think when I started looking for alternatives to Alacritty. But I settled on kitty (I think I could not get wezterm to work)
Few days ago, I stumbled upon it again, and I wanted to give it a try. So these days, I’m using wezterm as terminal. I specifically liked the built-in multiplexing feature. I haven’t tried it yet 🤷
Today I learned about Bang methods in Ruby.
Methods ending with ! are potentially dangerous, because they update the object they operate on.
➜ irb --sample-book-mode >> name = "sample_string" => "sample_string" >> name.reverse => "gnirts_elpmas" >> name => "sample_string" >> name.reverse! => "gnirts_elpmas" >> name => "gnirts_elpmas" As we can see above, reverse! modified name itself. Most times (?) we don’t want that. But sometimes we do.
Knowing that !
Continue Reading »
Yesterday, I listened to the episode of rework podcast, titled Interruption is the Enemy of Productivity 😄
The link has full transcript of the episode, or listen via your favourite podcast app.
Some quotes (edited little to make sense) from the episodes :
people know that the time they get the real “work done” is when they don’t have the interruptions.
If that time only exists outside of work, that is where they will find it.
Continue Reading »
When working on large(ish) code files, sometimes it is easier to fold rest of the code from that file and focus on one “block” at a time.
I use the word “block” because based on the context, it means different things. It could be as big as a class (if the file contains multiple classes) or as small as a if-else block.
But this functionality is not always turned on.
Continue Reading »