-
Notifications
You must be signed in to change notification settings - Fork 2
/
tips-and-tricks.html
1 lines (1 loc) · 6.28 KB
/
tips-and-tricks.html
1
<!DOCTYPE html><html lang=""><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><title>Onivim 2 User Manual · Modal Editing from the Future</title><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta name="generator" content="Docusaurus"/><meta name="description" content="Modal Editing from the Future"/><meta property="og:title" content="Onivim 2 User Manual · Modal Editing from the Future"/><meta property="og:type" content="website"/><meta property="og:url" content="https://your-docusaurus-test-site.com/"/><meta property="og:description" content="Modal Editing from the Future"/><meta property="og:image" content="https://your-docusaurus-test-site.com/img/undraw_online.svg"/><meta name="twitter:card" content="summary"/><meta name="twitter:image" content="https://your-docusaurus-test-site.com/img/undraw_tweetstorm.svg"/><link rel="shortcut icon" href="/img/favicon.ico"/><link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/default.min.css"/><link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:400,700"/><script type="text/javascript" src="https://buttons.github.io/buttons.js"></script><script src="/js/scrollSpy.js"></script><link rel="stylesheet" href="/css/main.css"/><script src="/js/codetabs.js"></script></head><body><div class="fixedHeaderContainer"><div class="headerWrapper wrapper"><header><a href="/"><img class="logo" src="/img/logo2.png" alt="Onivim 2 User Manual"/><h2 class="headerTitleWithLogo">Onivim 2 User Manual</h2></a><div class="navigationWrapper navigationSlider"><nav class="slidingNav"><ul class="nav-site nav-site-internal"><li class=""><a href="https://v2.onivim.io/early-access-portal" target="_self">Early Access</a></li><li class=""><a href="https://v2.onivim.io/#about" target="_self">About</a></li><li class=""><a href="https://v2.onivim.io/#timeline" target="_self">Timeline</a></li><li class=""><a href="/docs/getting-started/why-onivim" target="_self">Docs</a></li></ul></nav></div></header></div></div><div class="navPusher"><div class="tips"><section class="tip"><div class="tip-inner"><div class="tip-text"><h2>Scroll relative to cursor</h2><div class="description">Use zz, zb, and zt to scroll the buffer, relative to cursor position</div><h3>Keys Used:</h3><ul><li><kbd>zz</kbd> - Center cursor line in viewport</li><li><kbd>zt</kbd> - Move viewport such that cursor line is at the top</li><li><kbd>zb</kbd> - Move viewport such that cursor line is at the bottom</li></ul></div><div class="tip-video"><iframe width="480" height="270" src="https://www.youtube.com/embed/RodY2O1xFfI?&autoplay=1&controls=0&modestbranding=1&loop=1&playlist=RodY2O1xFfI" frameBorder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe></div></div></section><section class="tip"><div class="tip-inner"><div class="tip-text"><h2>Move up and down a buffer</h2><div class="description">Use gg and G to quickly move up and down the buffer.</div><h3>Keys Used:</h3><ul><li><kbd>gg</kbd> - move to first line in buffer</li><li><kbd>G</kbd> - move to last line in buffer</li><li><kbd>50G</kbd> - move to line 50 in buffer</li></ul></div><div class="tip-video"><iframe width="480" height="270" src="https://www.youtube.com/embed/xh4TTWy-okQ?&autoplay=1&controls=0&modestbranding=1&loop=1&playlist=xh4TTWy-okQ" frameBorder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe></div></div></section><section class="tip"><div class="tip-inner"><div class="tip-text"><h2>Working with window splits</h2><div class="description">It's easy to create and navigate window splits in Onivim, without touching the mouse.</div><h3>Keys Used:</h3><ul><li><kbd>Control+w v</kbd> - Create new vertical split</li><li><kbd>Control+w s</kbd> - Create new horizontal split</li><li><kbd>Control+w h</kbd> - Focus window to the left of the current one</li><li><kbd>Control+w j</kbd> - Focus window below the current one</li><li><kbd>Control+w l</kbd> - Focus window to the right of the current one</li><li><kbd>Control+w k</kbd> - Focus window above the current one</li></ul></div><div class="tip-video"><iframe width="480" height="270" src="https://www.youtube.com/embed/Xpfb2pMmeVg?&autoplay=1&controls=0&modestbranding=1&loop=1&playlist=Xpfb2pMmeVg" frameBorder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe></div></div></section><section class="tip"><div class="tip-inner"><div class="tip-text"><h2>Edit strings like a Ninja</h2><div class="description">The change operator, combined with the in-string motion, is a powerful combo - letting you strike and edit strings from afar.</div><h3>Keys Used:</h3><ul><li><kbd>c</kbd> - Change operator</li><li><kbd>i"</kbd> - In string motion</li></ul></div><div class="tip-video"><iframe width="480" height="270" src="https://www.youtube.com/embed/DMgNUMfGAQ4?&autoplay=1&controls=0&modestbranding=1&loop=1&playlist=DMgNUMfGAQ4" frameBorder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe></div></div></section></div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home" style="opacity:0"><img src="/img/logo2.png" alt="Onivim 2 User Manual" width="66" height="58"/></a><div><h5>Docs</h5><a href="/docs/getting-started/why-onivim">Getting Started</a><a href="/docs/using-onivim/moving-in-onivim">Basic Usage</a><a href="/docs/for-developers/building">For Developers</a><a href="/docs/other/faq">FAQ</a></div><div><h5>Community</h5><a href="https://reddit.com/r/onivim">Reddit</a><a href="https://discord.gg/7maEAxV">Discord</a><a href="https://twitter.com/oni_vim" target="_blank" rel="noreferrer noopener">Twitter</a></div><div><h5>More</h5><a href="https://github.com/onivim/oni2">GitHub</a><a class="github-button" href="https://github.com/onivim/oni2" data-icon="octicon-star" data-count-href="/facebook/docusaurus/stargazers" data-show-count="true" data-count-aria-label="# stargazers on GitHub" aria-label="Star this project on GitHub">Star</a></div></section><section class="copyright">Copyright © 2022 Outrun Labs, LLC</section></footer></div></body></html>