One minor drawback of using lazygit inside of Neovim is that its open and edit commands when pointing at files will open a nested $EDITOR inside of the lazygit terminal. Please watch the YouTube video for a proper introduction. I can’t make the software justice in this introduction, so I would recommend that you simply try it out. The “unboxing” experience was great: lazygit shows a link to a YouTube video by the author Jesse Duffield. I’d been meaning to try lazygit for a while now, and this was the perfect opportunity. LunarVim’s porcelain of choice is lazygit. Later on, I used tpope’s vim-fugitive and tried to adapt some Magit-inspired combinations such as p-fp for “push”, “force”, “push”. Since then, I’ve been through different solutions, including using an always-running Emacs instance in server mode running only Magit, which I accessed inside of Neovim and other programs. It’s a great piece of software that changed my expectations of what a Git interface can do. It also (in my opinion) benefits greatly from the patched font.ĭuring my time using Emacs I became a fan of Magit. The file explorer opens with the file from the current buffer selected. In nvim-tree, all features are quickly discoverable by entering g? (“go to help”, in and of itself an easily discoverable combination). It’s great, but some features are compile-in, which may be a nuisance to some. I was a happy user of nnn, a terminal file explorer with a Vim plugin. I did end up adding exactly four keybindings that I missed:įunction GrepInputString () local default = vim. I remembered my first experience with Magit as I found that the combination to search for text is st, and as I realized that this bit of knowledge would allow me to discover other things that are searchable, by just pressing s and waiting timeoutlen milliseconds for the which-key pop-up to appear. ![]() Once I’ve learned a combination, however, it quickly becomes second nature: the keys are simply well-chosen. There’s the reassuring certainty that I’ll be able to find the keybinding again if I’ve found it once, by exploring the nested menus that update as you select an option. The which-key plugin in LunarVim after pressing the leader key LunarVim makes excellent use of which-key, a pop-up window that suggests options to help you complete a keybinding. Most of my mappings ended up being redundant.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |