diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2023-06-01 13:27:50 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2023-06-01 13:28:25 +0300 |
commit | cca0488895f330ffb026535b76b4c01ba52eb2ea (patch) | |
tree | c890433ee6048cada15408e8cd16f46642d6b57e | |
parent | c8d8be17ee9aca38c22fe26cd68f490b0aba168e (diff) | |
download | vimrice-cca0488895f330ffb026535b76b4c01ba52eb2ea.tar.gz vimrice-cca0488895f330ffb026535b76b4c01ba52eb2ea.zip |
nmap: open all folds in current scope recursively
A bit of hack, but it works.
-rw-r--r-- | dotfiles/.config/nvim/init.vim | 4 |
1 files changed, 4 insertions, 0 deletions
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 <leader>d :r!date +"\%Y-\%m-\%dT\%H:\%M:\%S"<CR>kJ map <leader>в :r!date +"\%Y-\%m-\%dT\%H:\%M:\%S"<CR>kJ +" Hack to open all folds in current scope recursively + nmap <leader>z zCzO + nmap <leader>я zCzO + " LSP if has('nvim-0.6') set omnifunc=v:lua.vim.lsp.omnifunc |