aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/.config/nvim/init.vim4
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