diff --git a/nvim/.config/nvim/keymappings.vim b/nvim/.config/nvim/keymappings.vim index 8191377..1bdd288 100644 --- a/nvim/.config/nvim/keymappings.vim +++ b/nvim/.config/nvim/keymappings.vim @@ -170,3 +170,11 @@ nnoremap :sp :exec("tag ".expand("")) noremap 0 ^ " Just in case you need to go to the very beginning of a line noremap ^ 0 + +" Make j and k move to the next row, not file line +nnoremap j gj +nnoremap k gk +" Make dot work on visually selected lines +vnoremap . :norm. +" Go to the last file we changed +nnoremap