Make 0 go to first character, making it easier to work with indented languages
This commit is contained in:
parent
b63127ac15
commit
a6c4d6cae6
@ -18,6 +18,13 @@ function! YRRunAfterMaps()
|
|||||||
nnoremap Y :<C-U>YRYankCount 'y$'<CR>
|
nnoremap Y :<C-U>YRYankCount 'y$'<CR>
|
||||||
endfunction
|
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
|
" RSI Prevention - keyboard remaps
|
||||||
" ========================================
|
" ========================================
|
||||||
|
Loading…
Reference in New Issue
Block a user