mirror of
https://github.com/akelge/zsh
synced 2025-12-14 22:25:13 +00:00
First great cleanup
This commit is contained in:
@ -6,6 +6,11 @@ function! AppendModeline()
|
||||
$put =substitute(&commentstring, '%s', append, '')
|
||||
call setpos('.', save_cursor)
|
||||
endfunction
|
||||
|
||||
" Define as a command
|
||||
command! -nargs=0 -bar AppendModeline call AppendModeline()
|
||||
|
||||
" Map to <Leader>ml
|
||||
nnoremap <silent> <Leader>ml :call AppendModeline()<CR>
|
||||
|
||||
" vim: set ts=4 sw=4 tw=78 ft=vim :
|
||||
|
||||
Reference in New Issue
Block a user