在好例子网,分享、交流、成长!
您当前所在位置:首页Others 开发实例一般编程问题 → Mastering Vim: Build a software development environment with Vim and Neovim

Mastering Vim: Build a software development environment with Vim and Neovim

一般编程问题

下载此实例
  • 开发语言:Others
  • 实例大小:7.60M
  • 下载次数:3
  • 浏览次数:253
  • 发布时间:2020-08-14
  • 实例类别:一般编程问题
  • 发 布 人:robot666
  • 文件格式:.pdf
  • 所需积分:2
 

实例介绍

【实例简介】
Mastering Vim will introduce you to the wonderful world of Vim through examples of working with Python code and tools in a project-based fashion. This book will prompt you to make Vim your primary IDE, since you will learn to use it for any programming language
Mastering vim Copyright o 2018 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews Every effort has been made in the preparation of this book to ensure the accuracy of the information presented However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing or its dealers and distributors, will be held liable for any damages caused or alleged to have been caused directly or indirectly by this book Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information Commissioning Editor: Pavan Ramchandani Acquisition Editor: Chaitanya nair Content Development Editor: Pooja Parvatkar Technical Editor: Divya Vadhyar Copy Editor: Safis Editing Project Coordinator: Ulhas Kambali Proofreader: Safis Editing Indexer: Rekha nair Graphics: Tom Scaria Production Coordinator: Deepika naik First published: November 2018 Production reference: 1291118 Published by packt Publishing ltd Iver 35 Livery street Birmingham B 3 2PB, UK ISBN978-1-78934-109-6 www.packtpub.com To my mother Lilia and my loving partner elisabeth, who survived my anxiety over writing this book Slan osipov Mapt mapt.lO Mapt is an online digital library that gives you full access to over 5,000 books and videos, as well as industry leading tools to help you plan your personal development and advance your career. For more information, please visit our website Why subscribe? Spend less time learning and more time coding with practical ebooks and videos from over 4, 000 industry professionals Improve your learning with Skill Plans built especially for you Get a free ebook or video every month e Mapt is fully searchable Copy and paste, print, and bookmark content Packt. com Did you know that Packt offers eBook versions of every book published, with PDF and epubfilesavailableYoucanupgradetotheebookversionatwww.packt.comandasaprint book customer, you are entitled to a discount on the e Book copy. Get in touch with us at customercare@packtpub com for more details Atwww.packt.comyoucanalsoreadacollectionoffreetechnicalarticlessignupfora range of free newsletters and receive exclusive discounts and offers on packt books and eBookS Contributors About the author Ruslan Osipov is a software engineer at Google, an avid traveler, and a part-time blogger He is a self-taught engineer. He started publishing personal Vim notes in 2012, and became increasingly interested in the intricacies of the editor and its applications in optimizing development workflows Huge thank you to Divya and Pooja, who have went out of their way to get this book through the review process About the reviewer Bram Moolenaar is the creator and maintainer of Vim. He has been working on it for 27 years and has no plans to stop improving it thanks to the many volunteers who provide patches and test new versions After studying electronics and inventing parts of digital copying machines bram decided that creating open source software was more useful and fun, so he worked on that exclusively for several years. He currently works for Google, one of the few companies that fully embrace open source software. In between he did voluntary work on a project in Uganda and is still helping poor children there through the ICCf foundation I would like to thank all the vim developers for helping me make vim into what it is today. Without them, only a fraction of the features would have been implemented and the quality would not have been nearly as high. I would also like to thank all the plugin writers for building on top of vim and making complex features available to users(so that I dont have to! ) And finally, I would like to thank ruslan for writing a book that not only aids users with vim's built-in features, but also with getting to know and use plugins Packt is searching for authors like you IfyoureinterestedinbecominganauthorforPackt,pleasevisitauthors.packtpub.com and apply today. We have worked with thousands of developers and tech professionals, just like you, to help them share their insight with the global tech community. You can make a general application, apply for a specific hot topic that we are recruiting an author for or submit your own idea Table of contents Preface Chapter 1: Getting Started Technical requirements Let's start a conversation(about modal interfaces) Installation Setting up on Linux Setting up on macos Using homebrew 56677993 Downloading a. dmg image Setting up on Windows Unix-like experience with Cygwin 15 Installing cygwin Using Cygwin 18 Visual Vim with gVim 21 Verifying and troubleshooting the installation 24 Vanilla vim vs gvim 26 Configuring Vim with your vimrc 27 Common operations(or how to exit vim) 29 Opening files 29 Changing text 31 Saving and closing files 33 A word about swap files 34 Moving around: talk to your editor 36 Making simple edits in insert mode Persistent undo and repeat 43 Read the Vim manual using help 44 Summary Chapter 2: Advanced Editing and Navigation 49 Technical requirements 49 stalling plugins 50 Organizing workspace 51 Buffers 52 Plugin spotlight- unimpaired 54 Windows 55 Creating, deleting, and navigating windows 55 Moving windows 58 Resizing windows 6 Tabs 65 Folds 66 Table of contents Folding python code 67 Types of folds 69 Navigating file trees 70 Netw 70 . e with wildmenu enabled 72 Plugin spotlight- NERDTree 73 Plugin spotlight- Vinegar 75 Plugin spotlight -CtrlP 77 Navigating text 78 Jumping into insert mode 82 Searching with /and 82 Searching across files 84 ack 86 Utilizing text objects 87 Plugin spotlight- Motion 89 Copying and pasting with register 91 Where do the registers come in? 92 Copying from outside of vim 9 Summary 95 Chapter 3: Follow the Leader-Plugin Management 97 Technical requirements 97 Managing plugins 98 vim-plug 98 Honorable mentions 102 Bundle 102 Do it yourself 104 Pathogen 106 Profiling slow plugins 106 Profiling startup 106 Profiling specific actions 108 Deeper dive into modes 112 Normal mode 112 Command-line and ex modes 112 Insert mode 114 Visual and select mode 114 Replace and virtual replace mode 116 Terminal mode 117 Remapping commands 118 Mode- aware remapping 120 The leader key 121 Configuring plugins 122 Summary 126 Chapter 4: Understanding the Text 127 Technical requirements 127 Table of contents Code autocomplete 127 Built-in autocomplete 128 You CompleteMe 129 Installation 129 Using You CompleteMe 131 avigating the code base with tags 134 EXuberant Ctags 135 Automatically updating the tags 139 Undo tree and gundo 139 Summa 143 Chapter 5: Build, Test, and Execute 144 Technical requirements 144 Working with version control 145 Quick-and-dirty version control and Git introduction 145 Concepts 146 Setting up a new project 146 Cloning an existing repository 148 Working with Git 148 Resolving conflicts with vimdif oa Adding files, committing, and pusher 148 Creating and merging branches 151 Integrating Git with Vim(vim-fugiti 153 157 Comparing two files 157 vimdiff and git 161 git confi g 162 Creating merge conflict 162 Resolving a merge conflict 163 tmux, screen and vim terminal mode 166 tmux 166 Panes are just like splits 167 Windows are just like tabs 170 Sessions are invaluable 171 tmux and vim splits 171 Screen 173 Terminal mode 173 Building and testing 176 Quickfix list 176 Location list 179 Building code 179 Plugin spotlight: vim-dispatch 180 Testing code 181 P gin spotlight -vim-test 181 Syntax checking code with linters 182 Using linters with vim 182 Plugin spotlight- Syntastic 184 Plugin spotlight- ALE 86 【实例截图】
【核心代码】

标签:

实例下载地址

Mastering Vim: Build a software development environment with Vim and Neovim

不能下载?内容有错? 点击这里报错 + 投诉 + 提问

好例子网口号:伸出你的我的手 — 分享

网友评论

发表评论

(您的评论需要经过审核才能显示)

查看所有0条评论>>

小贴士

感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。

  • 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
  • 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
  • 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
  • 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。

关于好例子网

本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明

;
报警