commit 2be217d439e284ac1ffeb2f60df3c81f1f728f68
parent 6c2ceee72d5d4857eb665f33a44bbb1043d218fc
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Wed, 7 Aug 2019 18:01:02 +0200
vim: fixed up some mappings
Former-commit-id: 753d7d301cde0cfe0128757c3f5c5b5656d92339
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vim/vimrc b/vim/vimrc
@@ -603,7 +603,7 @@ nnoremap gV `[v`]
inoremap <C-Z> <C-o>:w<CR>
" Config edit mappings
-nnoremap <C-E><C-A> :vsplit $MYVIMRC<CR>/Autocommands {{<CR>:noh<CR>za
+nnoremap <C-E><C-A> :vsplit $MYVIMRC<CR>/Autocommands {{{$<CR>:noh<CR>za
nnoremap <C-E><C-C> :vsplit $MYVIMRC<CR>/Commands {{<CR>:noh<CR>za
nnoremap <C-E><C-E> :vsplit $MYVIMRC<CR>/Editor {{<CR>:noh<CR>za
nnoremap <C-E><C-G> :vsplit $MYVIMRC<CR>/General {{<CR>:noh<CR>za
@@ -622,6 +622,7 @@ nnoremap <leader>P "*P
nnoremap <leader>n "_
vnoremap <leader>n "_
nnoremap <leader>yy "*yg_
+nnoremap Y y$
" Insert lines without moving cursor and going into insert mode
nnoremap <leader>o m`o<esc>``