> This plugin is inspired by the Narrowing feature of Emacs and means to > focus on a selected region while making the rest inaccessible. You > simply select the region, call :NR and the selected part will open in > a new split window while the rest of the buffer will be protected. > Once you are finished, simply write the narrowed window (:w) and all > the changes will be moved back to the original buffer. I want this to be able to diff two portions of a file without the need of creating temporary files. (And the ability to automatically bring back changes sounds nice too.) Link: https://github.com/chrisbra/NrrwRgn
My dotfiles
This is a collection of the configuration files and scripts I use for various tools and environments.
Although some files support macOS, most of them assume that they are used on a GNU/Linux system. The systems I use include an Artix, a Manjaro and an Ubuntu installation. All of them running i3wm and the arch-based systems without a DE. I use my fork of st as terminal, zsh as shell and neovim as text editor.
The repository mimics my $HOME, trying to conform to the XDG Base Directory
Specification as close as possible. An exception is etc/ -> /etc/, as well
as meta/ and some other files in the root of the repository (e.g. this README
or the LICENSE) which are not in my $HOME.
The most interesting files are probably in .config/zsh and .config/vim.
Installation
The repository content can be installed via dotbot. All existing files which would be overridden are first packed into an archive for backup (see meta/archive) and then dotbot places symlinks in the appropriate places for the different files and folders in this repository.
To start the installation run:
$ ./meta/install