mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 11:40:36 +00:00
a0d0658a16a67d1f57ceee606f3403770ad24abb
This commit adds two new files: `hologram.lua` and `hologram.lua`. The `hologram.lua` file contains the configuration for the `hologram.nvim` plugin. It is responsible for setting up the plugin and linking it to the `absolute.after.hologram` file. The `hologram.lua` file contains the implementation for handling image previews using the `hologram` and `image` modules. It sets up autocmds to trigger the `handle_image_preview` function when entering or opening a buffer with an image file. The function creates a new image object and displays it for 5 seconds before deleting it. There is also a `handle_image_preview_close` function that is triggered when leaving or closing a buffer with an image file, but it is currently commented out. These changes were made to enhance the functionality of Neovim by allowing users to preview images within the editor using the `hologram.nvim` plugin.
Absolute VIM Configuration
Introduction
Here's the VIM configuration I'm going to be using for most of my professional work this year. There may be changes as I discover new plugins. I intent to personalize this to my taste and coding conventions. Feel free to try it out if you fancy 😄.
Installation
git clone https://github.com/boxpositron/absolute-vim ~/.config/nvim --depth 1 && nvim
Components
Package Manager
I'm using lazy.nvim to manage all the packages. I setup the project to use the after directory as well. Lazy does not need to use this but I set it up incase you want to switch to a different package manager like packer. You'll notice I require the plugin file from after in the config function for the plugin. It's worked for me and it keeps things organized.
TODO: List out Plugins
Description
Languages
Lua
100%