dotfiles

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

commit cf64c29b028da7850f04949713962bb1add16c90 (patch)
parent 6223545d93bfefb4066efca3204e47dd1afa1e5d
Author: Alex Karle <alex@karle.co>
Date:   Mon, 18 Mar 2019 23:14:06 -0400

vim: pdb and plugin settings

1. The pdb command benefits from always having Data::Dumper loaded
2. Dirvish #137 is an error I've been running into recently. Simplest
solution is to not load netrw (I don't have much use for it anyways if
I'm rolling with Dirvish)
3. Some Mojolicious::Lite highlighting settings

Diffstat:
Mvim/autoload/vimrc.vim | 5++---
Mvim/vimrc | 5+++++
2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/vim/autoload/vimrc.vim b/vim/autoload/vimrc.vim @@ -67,11 +67,10 @@ endfunction function! vimrc#PerlDebugger() abort " Simple wrapper around term + syntax perl - tabedit if has('nvim') - terminal perl -de0 + terminal perl -de 'use Data::Dumper' else - terminal ++curwin perl -de0 + terminal ++curwin perl -de 'use Data::Dumper' end setlocal syntax=perl endfunction diff --git a/vim/vimrc b/vim/vimrc @@ -68,6 +68,9 @@ let g:markdown_folding = 1 " netrw style settings let g:netrw_banner=0 " disable banner let g:netrw_liststyle=1 " details view + +" Mojolicious syntax highlighting for Mojolicious::Lite +let mojo_highlight_data = 1 " }}} " THEME AND APPEARANCE {{{ @@ -155,6 +158,8 @@ nnoremap <expr> <leader>C vimrc#ToggleColorColumn() " Quick open current directory of file being edited if isdirectory(s:vimdir . '/pack/plugins/start/vim-dirvish') + " Don't load netrw -- Dirvish #137 + let loaded_netrwPlugin = 1 nnoremap <leader>d :Dirvish %:p:h<CR> else nnoremap <leader>d :Explore<CR>