aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorCody Hiar <codyfh@gmail.com>2017-05-08 08:17:05 -0600
committerCody Hiar <codyfh@gmail.com>2017-05-08 08:17:05 -0600
commit662b00eeabe021dba2936af2c438d7313fe94bfc (patch)
tree11d28b880bd137f64489cb67389a23713d3dcc8b /plugin
parentb74fc245fa81f0ce91ea63b08df03b38b15abae4 (diff)
Adding to some more to ledger commands
Diffstat (limited to 'plugin')
-rw-r--r--plugin/vim-options.vim4
1 files 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 <leader>ll G{jV}y}p10l
-" Copy the current entry to the bottom
-nnoremap <leader>lb {jV}yGp10l
+" Copy the current entry to the bottom, copy date from last entry
+nnoremap <leader>lb {jV}yGp10l{{jvEy}jvEpl
" Copy the current entry to the next position
nnoremap <leader>ln {jV}y}p10l
" Jump down from line to replace dollar ammount