mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 00:03:55 +01:00
neovim: Drop zen-mode-nvim
I never used this and it seems to cause more issues than it's worth. It's easier to simply hide the tree on the left and manually adjust the size of the kitty window.
This commit is contained in:
parent
48e173ac34
commit
52bf43a2a7
@ -155,7 +155,6 @@ in
|
||||
nnoremap <silent> <leader>j :Buffers<CR>
|
||||
nnoremap <silent> <leader>l :Rg<CR>
|
||||
nnoremap <silent> <leader>; :NvimTreeToggle<CR>
|
||||
nnoremap <silent> <leader>z :ZenMode<CR>
|
||||
nnoremap <silent> <leader>b :Vista!!<CR>
|
||||
vnoremap <C-s> y:silent !notify-send -t 4000 "成果" "$(tango '<C-r>0')"<CR>:<Esc>
|
||||
|
||||
@ -420,29 +419,6 @@ in
|
||||
}
|
||||
'';
|
||||
}
|
||||
{
|
||||
plugin = zen-mode-nvim;
|
||||
type = "lua";
|
||||
config = /* lua */ ''
|
||||
require("zen-mode").setup({
|
||||
window = {
|
||||
backdrop = 1,
|
||||
width = 80,
|
||||
height = 0.9,
|
||||
options = {
|
||||
signcolumn = "no",
|
||||
number = false,
|
||||
},
|
||||
},
|
||||
on_open = function(win)
|
||||
vim.cmd("ScrollbarHide")
|
||||
end,
|
||||
on_close = function()
|
||||
vim.cmd("ScrollbarShow")
|
||||
end,
|
||||
})
|
||||
'';
|
||||
}
|
||||
{
|
||||
plugin = nvim-autopairs;
|
||||
type = "lua";
|
||||
|
Loading…
Reference in New Issue
Block a user