Table mode, RPN calc, Python LSP and key bindings

Options and plugins:
- enabled spell checker with languages de and en
- RPN calculator added to cmp
- Added python to lsps
- fzf workspaces now always sorted by name

Key bindings:
- table mode added, use <leader>t and submap
- File manager moved to <leader>T
- Spell suggestion z= uses fzf
- LSP code actions <space>ca moved to <space>c and fzf
This commit is contained in:
2024-09-13 10:15:54 +02:00
parent 07ced57dc5
commit 73cb9eeca1
6 changed files with 62 additions and 36 deletions

View File

@@ -124,7 +124,7 @@ require("lazy").setup({
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html", "diff", "go", "rust" },
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html", "diff", "go", "rust", "python" },
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
@@ -198,6 +198,12 @@ require("lazy").setup({
"natecraddock/workspaces.nvim",
config = function()
require("workspaces").setup {
-- sort the list of workspaces by name after loading from the workspaces path.
sort = true,
-- sort by recent use rather than by name. requires sort to be true
mru_sort = false,
-- option to automatically activate workspace when opening neovim in a workspace directory
auto_open = true,
@@ -211,4 +217,12 @@ require("lazy").setup({
end
},
-- rpn calculator
-- also added as source to cmp
{
"PhilRunninger/cmp-rpncalc",
},
-- comfortable table editing
{ 'dhruvasagar/vim-table-mode' },
})