|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
|
|
|
<title>VIM</title>
|
|
|
|
|
|
|
|
<meta name="author" content="Julio Biason">
|
|
|
|
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
|
|
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="_external/reveal.min.css">
|
|
|
|
<link rel="stylesheet" href="_external/default.css" id="theme">
|
|
|
|
|
|
|
|
<!-- For syntax highlighting -->
|
|
|
|
<link rel="stylesheet" href="_external/zenburn.css">
|
|
|
|
|
|
|
|
<!-- If the query includes 'print-pdf', include the PDF print sheet -->
|
|
|
|
<script>
|
|
|
|
if( window.location.search.match( /print-pdf/gi ) ) {
|
|
|
|
var link = document.createElement( 'link' );
|
|
|
|
link.rel = 'stylesheet';
|
|
|
|
link.type = 'text/css';
|
|
|
|
link.href = '_external/pdf.css';
|
|
|
|
document.getElementsByTagName( 'head' )[0].appendChild( link );
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="reveal.js/lib/js/html5shiv.js"></script>
|
|
|
|
<![endif]-->
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.semi-opaque {
|
|
|
|
background-color: rgba(0, 0, 0, 0.7);
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
hyphens: none !important;
|
|
|
|
-moz-hyphens: none !important;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div class="reveal">
|
|
|
|
<!-- Any section element inside of this container is displayed as a slide -->
|
|
|
|
<div class="slides">
|
|
|
|
<section data-background='_images/vim_dishwash_bar.jpg'>
|
|
|
|
<section></section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section data-background='_images/vim.png'>
|
|
|
|
<h1 class='semi-opaque'>VIM</h1>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<section>
|
|
|
|
<h2>Modos</h2>
|
|
|
|
|
|
|
|
<img src='_images/modes.jpg'>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<ul>
|
|
|
|
<li>Modo normal</li>
|
|
|
|
<li class='fragment'>Modo de inserção</li>
|
|
|
|
<li class='fragment'>Modo de comando</li>
|
|
|
|
<li class='fragment'>Modo visual</li>
|
|
|
|
<li class='fragment'>Modo ex</li>
|
|
|
|
<li class='fragment'>Modo de pesquisa</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<p class='fragment'>... e os menos conhecidos...</p>
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
<li class='fragment'>Modo de esperando pesquisa</li>
|
|
|
|
<li class='fragment'>Modo de espera de comando</li>
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<section>
|
|
|
|
<h2>Modo normal</h2>
|
|
|
|
<img src="_images/normal12.jpg" alt=""/>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<p>O modo normal é o modo que o VIM inicia.</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Nele é possível movimentar o cursor, copiar e colar,
|
|
|
|
entrar em modo de inserção, entrar em modo de pesquisa,
|
|
|
|
entrar em modo de comando, entrar em modo visual, ...
|
|
|
|
</p>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section>
|
|
|
|
<h3>Movimentação</h3>
|
|
|
|
|
|
|
|
<p>"Você só pode movimentar no texto usando <code>h</code>,
|
|
|
|
<code>j</code>, <code>k</code> e <code>l</code>".</p>
|
|
|
|
|
|
|
|
<img src="_images/credit-card-lies.jpg" alt="" class='fragment'/>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script src="_external/head.min.js"></script>
|
|
|
|
<script src="_external/reveal.min.js"></script>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
// Full list of configuration options available here:
|
|
|
|
// https://github.com/hakimel/reveal.js#configuration
|
|
|
|
Reveal.initialize({
|
|
|
|
controls: true,
|
|
|
|
progress: true,
|
|
|
|
history: true,
|
|
|
|
center: true,
|
|
|
|
|
|
|
|
theme: 'night',
|
|
|
|
transition: 'linear',
|
|
|
|
|
|
|
|
// Optional libraries used to extend on reveal.js
|
|
|
|
dependencies: [
|
|
|
|
{ src: '_external/classList.js', condition: function() { return !document.body.classList; } },
|
|
|
|
{ src: '_external/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
|
|
|
|
{ src: '_external/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
|
|
|
|
{ src: '_external/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
|
|
|
|
{ src: '_external/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
|
|
|
|
{ src: '_external/notes.js', async: true, condition: function() { return !!document.body.classList; } }
|
|
|
|
]
|
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|