I struggle to remember certain shortcuts sometimes. In these cases I rely on the "whichkey" plugin which shows a short description of for each possible keystroke in vim. Though I was lazy and didn't maintain these everywhere, so this change fixes that. Hopefully I can remeber all the keys better now. Furthermore this change contains some slight remappings regarding the git-keymappings. I used fugitive for most of that in the past, but I saw more potential using telescope in certain cases, especially navigating the history.
25 lines
572 B
Lua
25 lines
572 B
Lua
return {
|
|
"junegunn/goyo.vim",
|
|
dependencies = {
|
|
"junegunn/limelight.vim",
|
|
"nvim-lualine/lualine.nvim",
|
|
},
|
|
lazy = false,
|
|
config = function ()
|
|
vim.keymap.set("n", "<Leader>gg", function()
|
|
require('lualine').hide()
|
|
vim.cmd([[Goyo]])
|
|
vim.cmd([[Limelight!! 0.8]])
|
|
end, { desc = "Switch to goyo view" })
|
|
end
|
|
-- "pocco81/true-zen.nvim",
|
|
-- config = function ()
|
|
-- vim.keymap.set("n", "<Leader>gwg", function()
|
|
-- vim.cmd([[TZAtaraxis]])
|
|
-- end)
|
|
-- vim.keymap.set("n", "<Leader>gww", function()
|
|
-- require('lualine').hide()
|
|
-- end)
|
|
-- end
|
|
}
|