Mandar Vaze's microblog
  • atom
  • rss
Mandar Vaze

Mandar Vaze

microblog.desipenguin.com ∙ desipenguin ∙ github ∙ twitter

What am I doing right Now ? Notes too short or informal for full sized post.


  • Mandar Vaze

    Enable Syntax based Fold in Neovim

    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 …

    [ open me ]
    2022-07-07 09:48:13 +0530 +0530 Jul 07, 2022
    #vim #tools
  • Mandar Vaze

    Using Telekasten with Nvchad

    NvChad is yet another neovim starter kit.

    Creator of NvChad is on the VimUser’s Telegram Group. So I was intrigued to try NvChad. (I had tried it a while ago, but decided to visit it later. That “later” is now)

    One of the plugin I use is Telekasten. It reminds me of Dendron, …

    [ open me ]
    2022-06-23 12:00:54 +0530 +0530 Jun 23, 2022
    #vim #tools
  • Mandar Vaze

    Import json data to hosted elasticsearch

    Earlier I imported the data to locally running Elastic (via Docker)

    But others in my team could not run Docker on their machines, so we decided to use a hosted Elastic server.

    The steps to import the data were the same. Well, almost. Because this was a hosted instance, it would not allow operations …

    [ open me ]
    2022-06-21 08:56:53 +0530 +0530 Jun 21, 2022
    #elk #tools #elastic
  • Mandar Vaze

    Better Tabs Kitty

    Some time ago, I started using kitty terminal emulator. I used Alacritty for a long time. But Alacritty is meant to be minimalistic in a sense it does not even have concept of having different tabs.

    The suggestion/solution is to use tmux (or like) to manage different shell instances.

    And I did that. …

    [ open me ]
    2022-06-10 16:27:53 +0530 +0530 Jun 10, 2022
    #terminal #tools #kitty
  • Mandar Vaze

    Better Icon for Kitty

    Official instructions are here but it did not work for me.

    I did not understand Drag kitty.icns onto the application icon in the kitty info pane part. I tried dragging the icon, but could not make it work.

    I gave up. I can live with the default icon.

    But then I came across the following instructions …

    [ open me ]
    2022-06-09 20:04:30 +0530 +0530 Jun 09, 2022
    #terminal #tools #kitty
  • Mandar Vaze

    Setup Elastic Search Locally via Docker

    This is the first time I’m setting up elasticsearch

    While one can set it up natively via brew I have learnt longtime ago to use docker for complex, server type applications.

    Elastic search’s official document also suggests the docker in their Getting Started.

    I’ve made summary of …

    [ open me ]
    2022-06-01 16:01:57 +0530 +0530 Jun 01, 2022
    #elk #tools #elastic
  • Mandar Vaze

    Espanso With Helix Editor

    I wrote about espanso in past here and here, and I’ve been using it ever since.

    Since helix is (for now) terminal-only editor, my espanso shortcuts work very well with it.

    e.g. I can type :smile: and get 😄, and type thru and get through (Automatic correct the usually misspelled words 🎉) …

    2022-05-31 06:30:11 +0530 +0530 May 31, 2022
    #helix #tools
  • Mandar Vaze

    Grammar Check with Helix Editor

    One of the thing that I thought was missing from Helix editor was integration with a decent grammar checker tool. On Emacs and neovim, I use ltex-ls.

    To my surprise, it works well (I’m using it already) with Helix.

    It is probably not well documented though. I had to look through the github …

    [ open me ]
    2022-05-30 15:57:40 +0530 +0530 May 30, 2022
    #helix #tools
  • Mandar Vaze

    Helix Editor

    I came across Helix Editor on youtube when watching about neovim related video.

    It is vim like editor. That is, a modal editor.

    But it is different in one fundamental way, it terms of how commands work.

    In (Neo)vim, it is action followed by object. So delete word becomes dw But in Helix it is other …

    [ open me ]
    2022-05-28 21:49:19 +0530 +0530 May 28, 2022
    #helix #tools
  • Mandar Vaze

    guifont in Spacevim

    In my tour of Neovim starter kits, I landed on SpaceVim

    I started my Emacs journey with Spacemacs, and used it for couple of years before settling on Doom Emacs.

    Spacemacs inspired SpaceVim.

    I had liked the mnenomic keybindings in Spacemacs (and now in SpaceVim)

    But Spacevim is different from how …

    [ open me ]
    2022-05-27 15:55:05 +0530 +0530 May 27, 2022
    #vim #tools
  • Mandar Vaze

    Floating Terminal in Neovim

    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. …

    [ open me ]
    2022-05-16 16:02:51 +0530 +0530 May 16, 2022
    #vim #tools
  • Mandar Vaze

    Emoji Completion for Neovim

    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 …

    [ open me ]
    2022-05-16 06:26:40 +0530 +0530 May 16, 2022
    #vim #tools
  • Mandar Vaze

    Neovim From Scratch

    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 …

    [ open me ]
    2022-05-11 06:37:51 +0530 +0530 May 11, 2022
    #vim #tools
  • Mandar Vaze

    Using Projects With LunarVim

    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 …

    [ open me ]
    2022-05-03 21:47:36 +0530 +0530 May 03, 2022
    #exploring #vim #tools
  • Mandar Vaze

    Updating LunarVim

    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 …

    [ open me ]
    2022-04-19 21:53:28 +0530 +0530 Apr 19, 2022
    #vim #tools
  • Mandar Vaze

    Neovide with LunarVim config

    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 …

    [ open me ]
    2022-04-19 21:38:28 +0530 +0530 Apr 19, 2022
    #vim #tools
  • Mandar Vaze

    VimR

    After setting up LunarVim, I wanted to get it to work with a NeoVim GUI

    I had tried some in the past, but did not like any.

    Then (I think on Discord) I came across some discussion that they got LunarVim (lvim henceforth) to work with Neoclide.

    I couldn’t even get it to run 😞

    I tried VimR, and …

    [ open me ]
    2022-02-23 19:38:40 +0530 +0530 Feb 23, 2022
    #vim #tools
  • Mandar Vaze

    Back to Lunar Nvim

    After my problems with Doom NVim, I decided to go back to LunarNVim.

    I had never really left, but since both Doom and Lunar are NVim based configurations, they may overwrite the configurations (like from ~/.local/share/nvim/)

    So I completely removed both Doom and Lunar and reinstalled.

    I also …

    [ open me ]
    2022-02-16 05:53:50 +0530 +0530 Feb 16, 2022
    #vim #tools
  • Mandar Vaze

    Doom Nvim Maintainer Leaving (?)

    Just I was getting excited about Doom NVim, today I read (on their Discord server) that Alejandro aka NTBBloodbath on github has lost interest in Doom Nvim

    To quote him :

    I’ll slowly try to finally make Emacs my primary code editor (always failed in each attempt haha), Neovim’s …

    [ open me ]
    2022-02-15 10:41:27 +0530 +0530 Feb 15, 2022
    #vim #tools
  • Mandar Vaze

    Doom Nvim

    Those who know me, probably already know that Doom Emacs has been my daily driver for a last years now.

    and that recently neovim has piqued my interest.

    I already wrote about Lunar NVim

    Today I discovered Doom-Nvim

    Port of (sorta) Doom emacs to neovim ecosystem.

    What is not to like ? 😄

    As I wrote in …

    [ open me ]
    2022-02-10 19:43:04 +0530 +0530 Feb 10, 2022
    #exploring #vim #tools
  • Mandar Vaze

    Lunar Nvim

    I came across some starter kits for nvim. Earlier I tried adding individual plugins and learning all the nvim basics, but since I’m pretty happy with Doom Emacs 1

    But Lunar nvim seems stable and provides a lot of functionality out of the box. 👍

    prerequisite page asks to ensure that I have …

    [ open me ]
    2022-01-24 16:13:11 +0530 +0530 Jan 24, 2022
    #exploring #vim #tools
  • Mandar Vaze

    Installed `most` pager on macOS

    Today while I was browsing thru The Tao of tmux - I came across a better pager called most

    I think it is a play on default pagers called less and more

    Unfortunately, the official website almost makes it impossible to find stuff about it.

    Documentation is non existent.

    I found elsewhere that most …

    [ open me ]
    2022-01-05 17:28:16 +0530 +0530 Jan 05, 2022
    #tools
  • Mandar Vaze

    Dooble Browser

    I came across Dooble browser via one of the Hacker news post.

    The browser use Qt library and thus biased towards Linux. Or so I thought. There is a pre-built dmg file for macOS.

    It worked well in short test-run I did.

    I wish there was a way to set it as a default browser, so I could have tested it …

    [ open me ]
    2022-01-02 13:12:34 +0530 +0530 Jan 02, 2022
    #exploring #tools
  • Mandar Vaze

    Espanso 2.x (Alpha)

    While reading the documentation on Espanso’s main site, I noticed a Search bar feature.

    To be sure, after some time, one is unlikely to remember all the shortcuts one has added, along with ones that came with packages.

    So search bar is a welcome feature. But shortcut mentioned on the site …

    [ open me ]
    2021-12-22 17:09:52 +0530 +0530 Dec 22, 2021
    #exploring #tools
  • Mandar Vaze

    Espanso (Legacy)

    Just as I was getting to know espanso, I came across a brand-new version of espanso that is way better that this (0.7.6) version, now called Legacy version. Read about the new version here

    I have left the following as is, for posterity


    Long time ago, when I used Windows (provided by my employer), I …

    [ open me ]
    2021-12-21 21:29:17 +0530 +0530 Dec 21, 2021
    #exploring #tools
  • older ≻