New answers tagged

1

Is it possible to set up a command that can be toggled, dimensions increased or decreased that allows one to view the display of a window in a tab not from column 0 but from, say, column 10 to the right like so? There is no built-in way to do it afaik. I tried using repeated zl's (scroll right) to reach my desired scroll position. The trouble, however, is ...


1

You've asked for it (tm). set nobl implies that buffer will NOT be shown in :ls output. See :h 'buflisted', :h :ls. Do not copy/paste so blindly. By default vertical splits are opened with respect to :h 'splitright' option (defaults to unset). Either set splitright globally or overwrite it for a particular command with :h :rightbelow modifier. vnew et al. ...


0

I've come up with a simpler solution that meets my own needs. It doesn't meet the OP's requirement of not using -p (unless hiding it behind a script is good enough). Note that vim -p single_file seems to behave the same as vim single_file, so always using the -p option doesn't appear to be a problem. I habitually invoke vim by typing vi or view. I find the ...


1

There are multiple ways to do this, I'm sure, but it seems to me that a very straightforward approach is to... Close windows A and F (for example, just move the cursor to each one and do :close). That'll leave you with: _____________________________ B | D | E | | | | ____| | | C | ...


Top 50 recent answers are included