feat: add support for Jedi-Vim plugin

- 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
This commit is contained in:
David Ibia
2024-01-03 17:54:20 +01:00
parent 6aa492bca8
commit aee290dcf9
7 changed files with 125 additions and 32 deletions

View File

@@ -2,3 +2,16 @@ vim.g.poetv_executables = { "poetry", "pipenv" }
vim.g.poetv_auto_activate = 1
vim.g.poetv_set_environment = 1
vim.g.poetv_statusline_symbol = "🐍"
-- Keybindings
local opts = { noremap = true, silent = true }
-- Poetv: Activate Virtualenv
opts.desc = "Poetv: Activate virtualenv"
vim.keymap.set("n", "<leader>pva", "<cmd>PoetvActivate<CR>", opts)
-- Poetv: Deactivate Virtualenv
opts.desc = "Poetv: Deactivate virtualenv"
vim.keymap.set("n", "<leader>pvd", "<cmd>PoetvDeactivate<CR>", opts)