dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 8a07a310f6790908216cd6862653a7d6512ab90b (patch)
parent 1c7f5df34bf3a96d8f2803d73b9a8f367716981e
Author: Alex Karle <alex@karle.co>
Date:   Sat,  2 Nov 2019 12:37:23 -0400

vim: remove :PDB perl "repl" command

The motivation for this command was:

    1) NeoVim can syntax highlight the Perl
    2) Automate loading the Data::Dumper module

However, I found that (1) is spotty based on where the start is (things
can get messed up real fast), and (2) is not necessary usually (the 'x'
key suffices).

I never ended up really using this command, so let's remove it!

Diffstat:
Mvim/autoload/vimrc.vim | 10----------
Mvim/vimrc | 1-
2 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/vim/autoload/vimrc.vim b/vim/autoload/vimrc.vim @@ -65,13 +65,3 @@ function! vimrc#SetPasteAndPasteFromClipboard() abort normal! "+p set nopaste endfunction - -function! vimrc#PerlDebugger() abort - " Simple wrapper around term + syntax perl - if has('nvim') - terminal perl -de 'use Data::Dumper' - else - terminal ++curwin perl -de 'use Data::Dumper' - end - setlocal syntax=perl -endfunction diff --git a/vim/vimrc b/vim/vimrc @@ -194,7 +194,6 @@ nnoremap <leader>V :edit $HOME/.vim/vimrc<CR> " COMMANDS {{{ command! -nargs=1 GitGrep call vimrc#GitGrep('<args>') | copen command! CD exe 'cd ' . expand('%:h') -command! PDB call vimrc#PerlDebugger() " }}} " Load optional config (in ~/.vim)