5 ms·
vim :r!stock-tickers.sh
by ttt0 6y ago
vim
:r!stock-tickers.sh
- themodelplumber 6y agoThat's cool, thanks. Do you know if Vim has a way to shorten a command like this? For example :stk or something?
- ttt0 6y agoSure, in ~/.vimrc: command! Stk r!stock-tickers.sh Custom commands have to start with an uppercase letter, so it will be :Stk
- themodelplumber 6y agoVery nice. I appreciate the tip!