nvim: Remove wrapping notification, add toggle map
This commit is contained in:
parent
b8eb02ef6c
commit
0d5eeadef0
2 changed files with 13 additions and 1 deletions
|
@ -240,3 +240,7 @@ map('n', '<leader>ww', [[:lua require 'zettelkasten'.index_open()<cr> ]],
|
||||||
-- PLUGIN: toggleterm.nvim
|
-- PLUGIN: toggleterm.nvim
|
||||||
-- create a lazygit window, set up in toggleterm settings
|
-- create a lazygit window, set up in toggleterm settings
|
||||||
map('n', '<leader>G', ':Lazygit<cr>')
|
map('n', '<leader>G', ':Lazygit<cr>')
|
||||||
|
|
||||||
|
-- PLUGIN: wrapping.nvim
|
||||||
|
map('n', '<localleader>sw', [[:lua require('wrapping').toggle_wrap_mode()<cr> ]],
|
||||||
|
{ silent = true, desc = 'toggle wrap mode' })
|
||||||
|
|
|
@ -70,7 +70,15 @@ return {
|
||||||
{ 'vim-pandoc/vim-criticmarkup', ft = writing_ft }, {
|
{ 'vim-pandoc/vim-criticmarkup', ft = writing_ft }, {
|
||||||
'mickael-menu/zk-nvim',
|
'mickael-menu/zk-nvim',
|
||||||
config = function() require('zk').setup({ picker = "telescope" }) end
|
config = function() require('zk').setup({ picker = "telescope" }) end
|
||||||
}, { 'andrewferrier/wrapping.nvim', config = true }, {
|
}, {
|
||||||
|
'andrewferrier/wrapping.nvim',
|
||||||
|
config = function()
|
||||||
|
require('wrapping').setup({
|
||||||
|
create_keymappings = false,
|
||||||
|
notify_on_switch = false
|
||||||
|
})
|
||||||
|
end
|
||||||
|
}, {
|
||||||
'quarto-dev/quarto-nvim',
|
'quarto-dev/quarto-nvim',
|
||||||
dependencies = {
|
dependencies = {
|
||||||
'jmbuhr/otter.nvim', 'neovim/nvim-lspconfig',
|
'jmbuhr/otter.nvim', 'neovim/nvim-lspconfig',
|
||||||
|
|
Loading…
Reference in a new issue