From 662b00eeabe021dba2936af2c438d7313fe94bfc Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Mon, 8 May 2017 08:17:05 -0600 Subject: Adding to some more to ledger commands --- plugin/vim-options.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 9822c4e..969150f 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -172,8 +172,8 @@ endfunction " Some very useful shortcuts for editing Ledger entries " Copy the last entry nnoremap ll G{jV}y}p10l -" Copy the current entry to the bottom -nnoremap lb {jV}yGp10l +" Copy the current entry to the bottom, copy date from last entry +nnoremap lb {jV}yGp10l{{jvEy}jvEpl " Copy the current entry to the next position nnoremap ln {jV}y}p10l " Jump down from line to replace dollar ammount -- cgit v1.2.3