mirror of
https://github.com/boxpositron/absolute-vim.git
synced 2026-02-28 11:40:36 +00:00
4f0f762caaf2f4cb4aa06a460c22ceb4a837397d
The treesj.lua file is added to the project to enable the toggling of Treesitter Join functionality. The `tsj.setup` function is called to configure the plugin with the option `use_default_keymaps` set to `false`. This ensures that the default keymaps provided by the plugin are not used. A keymap is set using `vim.keymap.set` to bind the `<leader>m` key combination in normal mode to the command `TSJToggle`. The `opts.desc` option is set to provide a description for the keymap. This change allows users to toggle the Treesitter Join functionality using the `<leader>m` key combination in normal mode.
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
Important
I built this to be compatible with Apple Silicon. It should work with other platforms. I've just removed any incompatible plugins.
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.
Description
Languages
Lua
100%