Vim para noobs
Vim para noobs
Um livro guia/referência para quem deseja aprender a utilizar o editor de textos Vim
Sobre o Livro
O editor de textos Vim é o que muitos dizem ser a maneira mais produtiva de se escrever software. Sua produtividade vem devido ao seu modo de uso baseado em atalhos, ser carregado no terminal e outros pontos legais. Nesse livro nós aprendemos rapidamente a utilizar o Vim e ainda podemos usar como referência para quando esquecemos seus comandos.
As tarefas mostradas no livro são as mais importantes para quem quer usar Vim, como:
- Abrir arquivos
- Copiar e colar para dentro do Vim
- Se movimentar rapidamente no editor
- Plugins legais
- E muito mais
Se você pensa em começar a utilizar o Vim, deveria dar uma olhada no Vim para Noobs!
Sumário
-
Basico
- Aprender a usar o básico
- Não esquecer
- Instalação do Vim
- Modos de operação
- Formando comandos
-
Abrindo um arquivo
- Abrindoa partir de caminhos dentro do arquivo
- Abrindo o arquivo em uma linha específica
- Alternando entre arquivos
- Se movimentando pelo texto
- Inserindo texto
- Deletando texto
- Copiar e colar dentro do VIM
-
Recortar e colar
- Recortar e colar dentro do Vim
-
Copiando para o clipboard no Vim
- Resolvendo o problema de clipboard do Vim com o X11
- Copiando e colando para o clipboard no Vim
-
Replace
- Substituição simples
- Substituir em massa
- Desfazendo as coisas
- Buscar texto dentro do arquivo
- Executando comandos externos
- Salvando e fechando arquivos
- Salvar como…
- Alguns comandos legais para edição
-
Criando Marcas
- Coisas legais de se fazer com marcas
- Criar uma marca Global
- Criando Folders (ou dobras no texto)
-
Personalizando o Vim
- Geradores de vimrc files
-
Salvando suas preferências
- Exemplo de arquivo .vimrc
- Comandos e atalhos personalizados
- Mudando o tema
-
Temas legais
- Onde conseguir mais temas?
- Adicionando sintaxes
- Exemplos de vimrc
- Plugins
-
Instalando plugins com o Vundle
- Buscando um plugin com o Vundle
-
Removendo plugins
- Listando os plugins instalados
- Atualizando os plugins
-
Alguns plugins maneiros
- Onde encontrar mais plugins?
- Comandos uteis no .vimrc
- Trabalhando com Janelas no VIM
- trabalhando com abas no Vim
- Referências do livro
A garantia Leanpub incondicional, sem riscos, de 100% de satisfação
Durante 60 dias da data de compra você pode solicitar o reembolso total de qualquer compra Leanpub, em dois cliques. Nós processamos os reembolsos manualmente, então eles podem demorar alguns dias para aparecer. Veja os termos completos.
Seja legal, faça o bem
Os autores ganharam$11,698,646 na escrita, publicação e venda no Leanpub, ganhando 80% de royalties enquanto economiza até 25 milhões de libras de CO2 e até 46,000 árvores.
Saiba mais sobre como escrever no Leanpub
Atualizações grauitas. Sem DRM.
Se você compra um livro da Leanpub, você recebe atualizações gratuitas enquanto o autor atualizar o livro! Muitos autores utilizam a Leanpub para publicar os seus livros em andamento, enquanto eles estão os escrevendo. Todos os leitores recebem atualizações gratuitas, não importa quando ou por quanto eles compraram o livro (até mesmo de graça).
A maioria dos livros Leanpub estão disponíveis em PDF (para computadores), EPUB (para telefones e tablets) e MOBI (para Kindle). Os formatos que um livro inclui são exibidos no top direito dessa página.
Por último, livros Leapub não têm nenhuma proteção anti-cópias DRM sem sentido, então você pode facilmente lê-los em qualquer dispositivo suportado.
Aprenda mais sobre os formatos de ebook da Leanpub e aonde lê-los
Top Books
CQRS by Example
Carlos Buenosvinos, Christian Soronellas, and Keyvan Akbary- Leverage your Software Architecture skills by learning everything about CQRS in detail with lots of examples
- Develop faster applications by applying CQRS and fostering Read Models and Projections
- Learn how to apply CQRS into a brownfield project from a pragmatic approach
Data Member Initialization in Modern C++
Bartłomiej Filipek~180 pages, ~60 code samples, 2 quizzes, and several exercises. All for Modern C++ techniques related to data members and how to initialize them safely. C++20 included!
Buy together with my C++ Lambda book or with Lambda and C++17 books
Ansible for DevOps
Jeff GeerlingAnsible is a simple, but powerful, server and configuration management tool. Learn to use Ansible effectively, whether you manage one server—or thousands.
C++20 - The Complete Guide
Nicolai M. JosuttisAll new language and library features of C++20 (for those who know previous C++ versions).
The book presents all new language and library features of C++20. Learn how this impacts day-to-day programming, to benefit in practice, to combine new features, and to avoid all new traps.
Buy early, pay less, free updates.
Other books:
OpenIntro Statistics
David Diez, Christopher Barr, Mine Cetinkaya-Rundel, and OpenIntroA complete foundation for Statistics, also serving as a foundation for Data Science.
Leanpub revenue supports OpenIntro (US-based nonprofit) so we can provide free desk copies to teachers interested in using OpenIntro Statistics in the classroom and expand the project to support free textbooks in other subjects.
More resources: openintro.org.
Recipes for Decoupling
Matthias NobackMake applications that survive
The PowerShell Scripting and Toolmaking Book
Don Jones and Jeff HicksLearn the patterns, practices, and details of PowerShell Scripting and Toolmaking from the industry's two most recognized experts on the subject.
Functional Event-Driven Architecture
Gabriel VolpeExplore the event-driven architecture (EDA) in a purely functional way. Learn to design and develop distributed systems that scale. Identify common design patterns in such systems.
Take your functional programming skills to the next level by joining me in developing a distributed system powered by Apache Pulsar and Fs2 streams, all in Scala 3!
Jetpack Compose internals
Jorge CastilloJetpack Compose is the future of Android UI. Master how it works internally and become a more efficient developer with it. You'll also find it valuable if you are not an Android dev. This book provides all the details to understand how the Compose compiler & runtime work, and how to create a client library using them.
The C4 model for visualising software architecture
Simon BrownA guide to visualising your software architecture with the C4 model.
Top Bundles
- #1
Software Architecture
2 Books
"Software Architecture for Developers" is a practical and pragmatic guide to modern, lightweight software architecture, specifically aimed at developers. You'll learn:The essence of software architecture.Why the software architecture role should include coding, coaching and collaboration.The things that you really need to think about before... - #2
CCIE Service Provider Ultimate Study Bundle
2 Books
Piotr Jablonski, Lukasz Bromirski, and Nick Russo have joined forces to deliver the only CCIE Service Provider training resource you'll ever need. This bundle contains a detailed and challenging collection of workbook labs, plus an extensively detailed technical reference guide. All of us have earned the CCIE Service Provider certification... - #3
All the Books of The Medical Futurist
6 Books
We put together the most popular books from The Medical Futurist to provide a clear picture about the major trends shaping the future of medicine and healthcare. Digital health technologies, artificial intelligence, the future of 20 medical specialties, big pharma, data privacy, digital health investments and how technology giants such as Amazon... - #6
Pattern-Oriented Memory Forensics and Malware Detection
2 Books
This training bundle for security engineers and researchers, malware and memory forensics analysts includes two accelerated training courses for Windows memory dump analysis using WinDbg. It is also useful for technical support and escalation engineers who analyze memory dumps from complex software environments and need to check for possible... - #7
The Python Craftsman
3 Books
The Python Craftsman series comprises The Python Apprentice, The Python Journeyman, and The Python Master. The first book is primarily suitable for programmers with some experience of programming in another language. If you don't have any experience with programming this book may be a bit daunting. You'll be learning not just a programming... - #9
Practical FP in Scala + Functional event-driven architecture
2 Books
Practical FP in Scala (A hands-on approach) & Functional event-driven architecture, aka FEDA, (Powered by Scala 3), together as a bundle! The content of PFP in Scala is a requirement to understand FEDA so why not take advantage of this bundle!?