diff --git a/vim/settings/yadr-keymap.vim b/vim/settings/yadr-keymap.vim index 6af7bdd..d6c3404 100644 --- a/vim/settings/yadr-keymap.vim +++ b/vim/settings/yadr-keymap.vim @@ -18,6 +18,13 @@ function! YRRunAfterMaps() nnoremap Y :YRYankCount 'y$' endfunction +" Make 0 go to the first character rather than the beginning +" of the line. When we're programming, we're almost always +" interested in working with text rather than empty space. If +" you want the traditional beginning of line, use ^ +nnoremap 0 ^ +nnoremap ^ 0 + " ======================================== " RSI Prevention - keyboard remaps " ========================================