Commit 1eee02b
committed
improve: Add config option to change <cr> over hunks on commit_view
- New `commit_view.cr_on_hunk_jumps_to_current` option to interchange
the behaviour of `<cr>` with the mapping for the `OpenFileInWorktree`
command.
- This allows to set `<cr>` as the mapping to jump to the current
version of the file.
- Defaulted to false, i.e., preserve default magit behaviour.1 parent 40347fb commit 1eee02b
File tree
3 files changed
+247
-192
lines changed- doc
- lua/neogit
- buffers/commit_view
3 files changed
+247
-192
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
392 | 392 | | |
393 | 393 | | |
394 | 394 | | |
| 395 | + | |
395 | 396 | | |
396 | 397 | | |
397 | 398 | | |
| |||
2187 | 2188 | | |
2188 | 2189 | | |
2189 | 2190 | | |
2190 | | - | |
2191 | | - | |
2192 | | - | |
2193 | | - | |
| 2191 | + | |
| 2192 | + | |
| 2193 | + | |
| 2194 | + | |
| 2195 | + | |
| 2196 | + | |
| 2197 | + | |
2194 | 2198 | | |
2195 | 2199 | | |
2196 | 2200 | | |
| |||
0 commit comments