This commit adds support for the toggleterm plugin in Neovim. It introduces a new Lua file `toggleterm.lua` in the `absolute/after` directory, which configures the toggleterm plugin. It sets up key mappings to open a terminal and toggle the lazygit terminal.
The `toggleterm.lua` file imports the `toggleterm` and `Terminal` modules from the toggleterm plugin. It then sets up the toggleterm plugin using the `toggle_term.setup()` function.
The `lazygit` terminal is defined using the `Terminal:new()` function. It specifies the command to run (`lazygit`), the directory to run the command in (`git_dir`), and the floating window options. It also defines an `on_open` function to start insert mode and set a key mapping to close the terminal, and an `on_close` function to start insert mode.
The `_LAZYGIT_TOGGLE()` function is defined to toggle the `lazygit` terminal.
Key mappings are set using the `vim.api.nvim_set_keymap()` function. The `<leader>gl` mapping is set to call the `_LAZYGIT_TOGGLE()` function, and the `<C-`` mapping is set to open a terminal using the `ToggleTerm` command.
Additionally, a new Lua file `toggleterm.lua` is added in the `absolute/plugins` directory, which exports the toggleterm plugin configuration. It requires the `absolute.after.toggleterm` module to configure the toggleterm plugin.
The commit hashes for the following dependencies have been updated:
- fzf: updated from 90b8187 to a4f6c8f
- nvim-lspconfig: updated from 1bc8341 to 41f40dc
- nvim-tree.lua: updated from 8cbb1db to 4a87b8b
- nvim-treesitter: updated from cbf0dfd to b52b298
- nvim-web-devicons: updated from 313d9e7 to 7f30f2d
- treesj: updated from bc51763 to 60e2728
- undotree: updated from 7df3be7 to 9dbbf3b
- vim-fugitive: updated from fab00f7 to 8376227
These updates ensure that the latest versions of these dependencies are being used.
- Update commit hashes for the following dependencies:
- copilot.vim
- dashboard-nvim
- fzf
- mason-lspconfig.nvim
- none-ls.nvim
- nvim-cmp
- nvim-dap
- nvim-dap-python
- nvim-lspconfig
- nvim-tree.lua
- nvim-treesitter
- nvim-web-devicons
- rose-pine
- tokyonight
- treesj
- undotree
- vim-fugitive
- Add support for the following dependencies:
- hologram.nvim
- todo-comments.nvim
The commit hashes have been updated to the latest versions to ensure compatibility and take advantage of any bug fixes or new features. The new dependencies have been added to enhance the functionality of the project.
- Update `copilot.vim` to commit `22fd9542e3c47552abab5e685fefd760e4f405b2`
- Reason: Update to the latest commit for bug fixes and new features.
- Update `dressing.nvim` to commit `6f212262061a2120e42da0d1e87326e8a41c0478`
- Reason: Update to the latest commit for bug fixes and new features.
- Update `friendly-snippets` to commit `b8fae73a479ae0a1c54f5c98fa687ae8a0addc53`
- Reason: Update to the latest commit for bug fixes and new features.
- Update `fzf` to commit `dd886d22f0b95700ece24954ac00f6e2628226f1`
- Reason: Update to the latest commit for bug fixes and new features.
- Update `nightfly` to commit `56fe47bd16272d9644fd9946a2596fa2c3905c35`
- Reason: Update to the latest commit for bug fixes and new features.
- Update `none-ls.nvim` to commit `912f81829e9ab4ee3d54c3ea5a304c264f0003bc`
- Reason: Update to the latest commit for bug fixes and new features.
- Update `nvim-lspconfig` to commit `021906284dcfb938bc236f8295af2650c60cb807`
- Reason: Update to the latest commit for bug fixes and new features.
- Update `nvim-tree.lua` to commit `f39f7b6fcd3865ac2146de4cb4045286308f2935`
- Reason: Update to the latest commit for bug fixes and new features.
- Update `nvim-treesitter` to commit `e9602f41192ba51842b4be4d02c718a64cd57acf`
- Reason: Update to the latest commit for bug fixes and new features.
- Update `nvim-web-devicons` to commit `aaec87dbdaa776bfa0a13c8694bec9bcb7454719`
The commit hashes for the following dependencies have been updated:
- none-ls.nvim: Updated from 7e146f3a188853843bb4ca1bff24c912bb9b7177 to cf81e765460f722a381e5f3f5e3cbdce88398517
- nvim-treesitter: Updated from fcf843bf14adaeee53aad1b28fabba1d3b62fc8d to 59d4c14a1a4262cf637ff2420032593afa062749
- nvim-web-devicons: Updated from 4f5e6414438c920743fc1bb92bee1047620d6321 to 140edfcf25093e8b321d13e154cbce89ee868ca0
- rose-pine: Updated from c01a4a61020ddcfd3448fbb9cf11309f336bfb7b to b00800948e35df1df02c80cdea07988c4325d3ac
These updates ensure that the project is using the latest versions of these dependencies.
- Update keyseer.nvim to branch "main" and commit "6cb478f9b2be4af4680ceb0308a9b49cd6b6ea73"
- Update mason-lspconfig.nvim to branch "main" and commit "3ba1b92b771f33256b4969d696b82c8ae7075364"
These updates are necessary to ensure compatibility and take advantage of the latest features and bug fixes in the dependencies.
- Update dressing.nvim to commit b2c644abfaae7523bb393b0c452adf3ebdaf53dc
- Update fzf to commit 1a9ea6f738cfafab83a5e0e828e60f0bf68bffee
The dependencies dressing.nvim and fzf were updated to their latest commits to ensure compatibility and take advantage of any bug fixes or new features.
- Update LuaSnip to commit 82108e7e31cc6fc223cc5df5cae6d89f70bb199f
- WHY: Updating to the latest commit of LuaSnip to get the latest features and bug fixes.
- Add cheatsheet.nvim with commit 9716f9aaa94dd1fd6ce59b5aae0e5f25e2a463ef
- WHY: Adding cheatsheet.nvim as a new dependency to enhance the functionality of the application.
- Update copilot.vim to commit 1a55183ef9347d6f420406a3746474b6b9fb9ef5
- WHY: Updating copilot.vim to the latest commit to benefit from the latest improvements and bug fixes.
- Update indent-blankline.nvim to commit 12e92044d313c54c438bd786d11684c88f6f78cd
- WHY: Updating indent-blankline.nvim to the latest commit to get the latest enhancements and bug fixes.
- Update lspkind.nvim to commit 1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf
- WHY: Updating lspkind.nvim to the latest commit to benefit from the latest features and improvements.
- Update mason-lspconfig.nvim to commit 0989bdf4fdf7b5aa4c74131d7ffccc3f399ac788
- WHY: Updating mason-lspconfig.nvim to the latest commit to get the latest enhancements and bug fixes.
- Update mason.nvim to commit e110bc3be1a7309617cecd77bfe4bf86ba1b8134
- WHY: Updating mason.nvim to the latest commit to benefit from the latest features and improvements.
- Update nightfly to commit 0c6e2e88bf15634af94a91fcc2e20e28a09dfecd
- WHY: Updating nightfly to the latest commit to get the latest enhancements and bug fixes.
- Add none-ls.nvim with commit 7e146f3a188853843bb4ca1bff24c912bb9b7177
- WHY: Adding none-l
The `indent-blank-line` plugin is added to enhance the indentation of blank lines in the code. This improves code readability and makes it easier to navigate through the code. The plugin is configured to use the `ibl` module and is integrated into the existing `absolute.after` module.
fix(absolute/after/colorscheme.lua): comment out unnecessary code for setting Normal and NormalFloat highlight groups
fix(absolute/after/jedi.lua): enable popup on dot for jedi
feat(absolute/after/tokyonight.lua): add support for tokyonight theme with specific configuration
feat(absolute/plugins/tokyonight.lua): add tokyonight plugin with configuration to load after plugin setup
fix(absolute/remap.lua): remove extra empty line
- Add configuration for Jedi-Vim plugin in `lua/absolute/plugins/jedi.lua`
- Create `lua/absolute/after/jedi.lua` to set Jedi-Vim mappings and options
fix: fix lualine theme and add custom section
- Update `lua/absolute/after/lualine.lua` to fix the lualine theme configuration
- Add a custom section to display the Poetv status line in lualine
feat: add keybindings for Poetv plugin
- Add keybindings for activating and deactivating virtualenv in `lua/absolute/after/poet-v.lua`
fix: fix remap keybindings
- Update `lua/absolute/remap.lua` to fix and improve remap keybindings
feat: add alternate escape keybinding
- Add keybinding to use <C-c> as an alternate escape key in insert mode
fix: disable Q keybinding
- Disable the Q keybinding to prevent accidentally entering Ex mode
feat: add keybinding for formatting document with LSP Formatter
- Add keybinding to format the document using the LSP Formatter
feat: add keybindings for navigation quick fixes
- Add keybindings for navigating through quick fixes in the location list and the quickfix list
feat: add keybinding for regex replace
- Add keybinding to perform a regex replace in the entire file
feat: add keybinding for sourcing file
- Add keybinding to source the current file
feat: add keybinding for toggling TMUX pane
- Add keybinding to toggle the TMUX pane using MaximizerToggle command
feat(gitignore.lua): add Lua script to generate .gitignore file using gitignore.nvim plugin
chore(lsp-config.lua): comment out configuration for pyright server
feat(poet-v.lua): add poet-v plugin for managing Python virtual environments
feat(lsp-config.lua): configure python lsp using pylsp to provide language server capabilities for Python files
refactor(magma.lua): remove magma plugin configuration as it is no longer used
feat(mason.lua): add configuration for mason and mason-nvim-dap plugins to enable package management and debugging features in Neovim
refactor(init.lua): set maplocalleader to "\\" for easier keybindings
refactor(remap.lua): remove setting mapleader to " " as it is no longer needed, add keybinding for toggling file explorer using NvimTreeToggle command