Skip to content

Commit

Permalink
chore: vim bindings for beginning and end of line
Browse files Browse the repository at this point in the history
  • Loading branch information
jmreicha committed Jan 11, 2025
1 parent e82fc5c commit b4c1a33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ autocmd WinEnter * if &buftype ==# 'quickfix' && winnr('$') == 1 | quit | endif

"" Shortcuts

" Beginning of line
nnoremap gh ^
" End of line
nnoremap gl $
" Split lines
nnoremap S :keeppatterns substitute/\s*\%#\s*/\r/e <bar> normal! ==<CR>
" FZF
Expand Down

0 comments on commit b4c1a33

Please sign in to comment.