简体   繁体   中英

Is there a Visual Studio equivalent of Vim scrolloff or Emacs scroll-margin?

Is there a standard option built into Visual Studio to act like the Vim scrolloff option or the Emacs scroll-margin option ?

The aim is for Visual Studio to always show at least x lines above and below the current point.

Is there a standard option built into Visual Studio to act like the Vim scrolloff option or the Emacs scroll-margin option ?

The aim is for Visual Studio to always show at least x lines above and below the current point.

Is there a standard option built into Visual Studio to act like the Vim scrolloff option or the Emacs scroll-margin option ?

The aim is for Visual Studio to always show at least x lines above and below the current point.

Is there a standard option built into Visual Studio to act like the Vim scrolloff option or the Emacs scroll-margin option ?

The aim is for Visual Studio to always show at least x lines above and below the current point.

Is there a standard option built into Visual Studio to act like the Vim scrolloff option or the Emacs scroll-margin option ?

The aim is for Visual Studio to always show at least x lines above and below the current point.

You can add editor.cursorSurroundingLines to your settings.json

eg

"editor.cursorSurroundingLines": 8,

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM