commit 3278decb1875a7ddc1007e973a0ef9f7b8f68353
parent 2da5f6f8937afccdb3f792ed7df8e95bb76fdb67
Author: mcol <mcol@posteo.net>
Date: Mon, 11 Mar 2019 15:37:06 +0000
comment out unfinished VimlabDeleteInput function
Diffstat:
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/ftplugin/matlab.vim b/ftplugin/matlab.vim
@@ -73,7 +73,6 @@ if !exists("g:no_vimlab_autoend")
endif
-
"------------------------------------------------------------------
" Matlab section folding
"------------------------------------------------------------------
@@ -116,20 +115,19 @@ setlocal foldmethod=expr
setlocal foldexpr=MatlabFolds()
-
"------------------------------------------------------------------
" delete input argument in function line
"------------------------------------------------------------------
" TODO
-function! VimlabDeleteInput()
- call search(',\|(\|^', 'bz', line("."))
- "exec "normal ?,\\|{\\|("
-endfunction
-nnoremap <Plug>VimlabDeleteInput :call VimlabDeleteInput()<CR>
-if !hasmapto('<Plug>VimlabDeleteInput')
- nmap <unique> <buffer> <silent> <leader>iw <Plug>VimlabDeleteInput
-endif
+"function! VimlabDeleteInput()
+" call search(',\|(\|^', 'bz', line("."))
+" "exec "normal ?,\\|{\\|("
+"endfunction
+"nnoremap <Plug>VimlabDeleteInput :call VimlabDeleteInput()<CR>
+"if !hasmapto('<Plug>VimlabDeleteInput')
+" nmap <unique> <buffer> <silent> <leader>iw <Plug>VimlabDeleteInput
+"endif
@@ -229,6 +227,7 @@ function! VimlabSendLine(lnum)
endfunction
nnoremap <silent> <buffer> <F8> :call VimlabSendLine(line("."))<CR>
+
"------------------------------------------------------------------
" Debugging code
"------------------------------------------------------------------
@@ -288,7 +287,5 @@ nnoremap <unique> <buffer> <silent> <Leader>du :TmuxSendKeysEnter dbup<CR>
nnoremap <unique> <buffer> <silent> <Leader>dd :TmuxSendKeysEnter dbdown<CR>
-
-
""" end
let &cpo = s:save_cpo