From cca0488895f330ffb026535b76b4c01ba52eb2ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 1 Jun 2023 13:27:50 +0300 Subject: nmap: open all folds in current scope recursively A bit of hack, but it works. --- dotfiles/.config/nvim/init.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'dotfiles') diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim index d7ec06b..38cbc2f 100644 --- a/dotfiles/.config/nvim/init.vim +++ b/dotfiles/.config/nvim/init.vim @@ -246,6 +246,10 @@ call plug#end() map d :r!date +"\%Y-\%m-\%dT\%H:\%M:\%S"kJ map в :r!date +"\%Y-\%m-\%dT\%H:\%M:\%S"kJ +" Hack to open all folds in current scope recursively + nmap z zCzO + nmap я zCzO + " LSP if has('nvim-0.6') set omnifunc=v:lua.vim.lsp.omnifunc -- cgit v1.2.3