Open a File with Multiple Columns Scrolled to Specific Lines with Vim
In this video, we'll run Vim with custom arguments to auto-split a file into multiple columns and jump to specific lines in each column.
Quick Jump: Demo Video
We’ll be using the
-c flag which lets us run a command after the file has been read by Vim.
1:48 – Going over the Vim command to make all of this work
vim multiopen \ -c "vsplit +112 multiopen | normal zt" \ -c "vsplit +221 multiopen | normal zt"
What do you plan to use this feature for? Let me know below.