Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @telyn
9 changes: 9 additions & 0 deletions plugin/indentwise.vim
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,15 @@ function! <SID>move_to_indent_depth(fwd, target_indent_depth, exclusive, vim_mod
else
execute "normal! " . target_line . "G^"
endif
else
let not_found_behaviour = get(b:, "indentwise_not_found_behaviour", get(g: "indentwise_not_found_behaviour", 0))
if not_found_behaviour != 0
if fwd
execute "normal! G"
else
execute "normal! gg"
endif
endif
endif
endfunction
" 2}}}
Expand Down