NRK
NRK
Took this from [NERDTree](https://github.com/preservim/nerdtree#how-can-i-close-vim-or-a-tab-automatically-when-nerdtree-is-the-last-window) but removed a check `b:NERDTree.isTabTree()`. Seems to be working fine. @mcchrish Do you think this is okay or are there some edge case? ```vim " Exit...
@mcchrish I'm thinking about adding it to the docs similar to NERDTree. > You can also check for the file type instead of b:nnn_ftplugin: &filetype ==# 'nnn' Noted. Will open...
> * [ ] `:NnnExplorer` should toggle the nnn window instead of opening a new window. Any plans on how to implement this? I was trying out something like this,...
Possible suspect is the fact that herbe is calling Xlib functions inside the signal handler. https://github.com/dudik/herbe/blob/dec89e4d669a38a3f6dd8a6f2e2bae39f26369d3/herbe.c#L73-L80 You can only call functions which are `async-signal-safe` from inside a signal handler, see...
@faustri @alreadyburnt Try out #40 and see if that solves the issue or not.
IMO, it doesn't make much sense to leave this and #4 as a patch. Most suckless programs simply include it in their Makefile/config.mk and comment it out, here's [dwm](https://git.suckless.org/dwm/file/config.mk.html#l20) and...
Doesn't cope well with multi-byte chars it seems. Try the following to reproduce: ```console $ ./herbe " some text " ``` 
The following fixes the issue for me: patch ```patch From 440fe73fa5446039827e9b90548d74510fcfa1e3 Mon Sep 17 00:00:00 2001 From: NRK Date: Wed, 16 Mar 2022 17:36:00 +0600 Subject: [PATCH] patch: center text...
Honestly, don't think this is a good idea. [Traditional 8/16/256 color sequences](https://en.wikipedia.org/wiki/ANSI_escape_code#Colors) don't represent actual rgb colors. You'll need to maintain your own color-table and index into it. This (obviously)...
reallocarray is a non-standard extension. > unchecked multiplications in the malloc and realloc args are a dangerous C classic. Genuinely curious, this is an actual issue on modern 64bit systems?...