SyntaxFix
Write A Post
Hire A Developer
Questions
🔍
[vim] How to move screen without moving cursor in Vim?
Home
Question
How to move screen without moving cursor in Vim?
z
z
- move current line to the middle of the screen
(
Careful with
z
z
, if you happen to have
Caps Lock
on accidentally, you will save and exit
vim
!)
z
t
- move current line to the top of the screen
z
b
- move current line to the bottom of the screen
Examples related to
vim
•
Why does using from __future__ import print_function breaks Python2-style print?
•
How to run vi on docker container?
•
How can I install MacVim on OS X?
•
Find and replace strings in vim on multiple lines
•
Running Python code in Vim
•
How do I set the default font size in Vim?
•
Move cursor to end of file in vim
•
Set encoding and fileencoding to utf-8 in Vim
•
How to select all and copy in vim?
•
Why I've got no crontab entry on OS X when using vim?
Examples related to
scroll
•
How to window.scrollTo() with a smooth effect
•
Angular 2 Scroll to bottom (Chat style)
•
Scroll to the top of the page after render in react.js
•
Get div's offsetTop positions in React
•
RecyclerView - How to smooth scroll to top of item on a certain position?
•
Detecting scroll direction
•
How to disable RecyclerView scrolling?
•
How can I scroll a div to be visible in ReactJS?
•
Make a nav bar stick
•
Disable Scrolling on Body
Examples related to
cursor-position
•
Setting cursor at the end of any text of a textbox
•
How to set caret(cursor) position in contenteditable element (div)?
•
jQuery: Get the cursor position of text in input without browser specific code?
•
Get contentEditable caret index position
•
How to move screen without moving cursor in Vim?
•
Set cursor position on contentEditable <div>