dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 05a3ddf150cc79fbf21ab7444a3edbfcc1fe96b7
parent e938d406240e6591fc5fddf1400ff30c1337c356
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Thu,  5 Sep 2019 13:10:42 -0400

vim: command to get cheat sheet

Former-commit-id: 4f304127ee0343708ee2657374f48e3bc3faec9f
Diffstat:
Mvim/vimrc | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/vim/vimrc b/vim/vimrc @@ -470,6 +470,7 @@ command! BeautifyJson %!python -m json.tool command! Dos2unix .!dos2unix "%" command! DeleteHiddenBuffers call deletehiddenbuffers#DeleteHiddenBuffers() command! -nargs=1 -complete=command Redir silent call redir#Redir(<f-args>) +command! -nargs=1 Cheat terminal curl cheat.sh/<args> " Usage: " :Redir hi ............. show the full output of command ':hi' in a scratch window " :Redir !ls -al ........ show the full output of command ':!ls -al' in a scratch window