From da890ba0479d33956e4d14f7ccb558d010ca34bd Mon Sep 17 00:00:00 2001
From: Alexander Gehrke <github@qwertyuiop.de>
Date: Wed, 7 Sep 2022 14:18:18 +0200
Subject: [PATCH] Add mappings for jumping to next/prev unindented line

---
 init.vim | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/init.vim b/init.vim
index ddd0b30..5ad3a58 100644
--- a/init.vim
+++ b/init.vim
@@ -146,6 +146,9 @@ nnoremap <A-j> <C-w>j
 nnoremap <A-k> <C-w>k
 nnoremap <A-l> <C-w>l
 
+nnoremap <M-[> :call search('^[^[:space:])\]}]', 'be')<cr>
+nnoremap <M-]> :call search('^[^[:space:])\]}]', 'e')<cr>
+
 inoremap <C-U> <C-G>u<C-U>
 nnoremap & :&&<CR>
 xnoremap & :&&<CR>