diff options
Diffstat (limited to 'vim.dot.link/plugin/key_mappings.vim')
-rw-r--r-- | vim.dot.link/plugin/key_mappings.vim | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/vim.dot.link/plugin/key_mappings.vim b/vim.dot.link/plugin/key_mappings.vim index ceb1a51..03a3b51 100644 --- a/vim.dot.link/plugin/key_mappings.vim +++ b/vim.dot.link/plugin/key_mappings.vim @@ -237,6 +237,11 @@ vmap <Leader>s <Plug>(simple-todo-mark-switch) "nnoremap <Leader>c :call ToggleCheckbox()<CR> " }}} +"" Leader behavior {{{ +" Cleanup the buffer {{{ +noremap <leader>c :call BufferCleansing()<CR> +" }}} + " Insert the current date in ISO format {{{ " " Thanks https://vimtricks.com/p/insert-the-current-date-or-time/ @@ -245,8 +250,4 @@ nnoremap <leader>d i<C-R>=strftime('%Y-%m-%d')<CR> inoremap <leader>d <C-R>=strftime('%Y-%m-%d')<CR> map <leader>e :put =strftime('## %Y-%m-%d')<CR> " }}} - -" Remove trailing whitespaces {{{ -noremap <leader>w :call TrimWhitespace()<CR> " }}} -" |