Semantic diff
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: add vim pagging keybindings

+14
+14
main.go
··· 145 145 } 146 146 m.scrollToCursor() 147 147 148 + case "ctrl+f", "pgdown": 149 + m.cursor += m.height 150 + if m.cursor >= len(m.lines) { 151 + m.cursor = len(m.lines) - 1 152 + } 153 + m.scrollToCursor() 154 + 155 + case "ctrl+b", "pgup": 156 + m.cursor -= m.height 157 + if m.cursor < 0 { 158 + m.cursor = 0 159 + } 160 + m.scrollToCursor() 161 + 148 162 case "n": 149 163 m.jumpNext() 150 164