💻 Software
Mapping a Piped Shell Command in Vim
Fresh7 days ago
Mar 15, 20262897 viewsConfidence Score0%
0%
Problem
In a previous question I asked about outputting evaluated code to a new window in MacVim. I got a great solution, but it presented another question: How can I map a key command in my that involves piping output in the shell? As a simple example, let's say I wanted to pipe the results of to a new Ma…
Error Output
nmap <Leader>r :w !ls | mvim -<CR>
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Mapping a Piped Shell Command in Vim
Low Risk
Try putting this in your file: or
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix