Pro Vim

Mark McDonnell

  • 出版商: Apress
  • 出版日期: 2014-11-26
  • 售價: $2,820
  • 貴賓價: 9.5$2,679
  • 語言: 英文
  • 頁數: 424
  • 裝訂: Paperback
  • ISBN: 1484202511
  • ISBN-13: 9781484202517
  • 相關分類: Vim
  • 海外代購書籍(需單獨結帳)

商品描述

Pro Vim teaches you the real-world workflows, tips, and tricks of this powerful, terminal-based text editor. This book covers all the essentials, as well as lesser-known but equally powerful features that will ensure you become a top-level performant and professional user, able to jump between multiple sessions while manipulating and controlling with ease many different documents and programming files. With easy-to-digest chapters on all the areas you need to learn, this book is a key addition to your library that will enable you to become a fast, efficient user of Vim.

Using this book, you will learn how to properly configure your terminal environment and work without even touching the mouse. You will become an expert in how Vim actually works: how buffers and sessions work, automation through Macros and shell scripting, real-world workflows, and how to work efficiently and fast with plugins and different themes. You will also learn practical, real-world tips on how to best utilize Vim alongside the terminal multiplexer tmux; helping you to manage files across multiple servers and terminal sessions. Avoid common pitfalls and work with best practice ways to efficiently edit and control your files and sessions from the terminal interface.

Vim is an advanced power tool that is commonly recognized as being difficult to learn, even for experienced developers. This book shows you how to become an expert by focusing on not only the fundamentals of how Vim works, but also by distilling the author's own experiences learning Vim into an easy-to-understand and follow guide. It's time to bring your programming, editing, and workflow skills up to the professional level - use Pro Vim today.

What you’ll learn

• Understand the fundamentals of how Vim works so you can better utilize its features.

• Extend Vim using plugins; along with specific plugins that cover a wide range of technical requirements.

• Automate Vim and tmux via the use of Macros and Scripting.

• Learn how to make complex pattern based changes across multiple Vim buffers at once.

• Pair program with remote users connecting to a single local tmux session.

• Learn real-world workflows that integrate both Vim and tmux together.

Who this book is for

Pro Vim is for any developer who wishes (or has tried in the past and failed) to understand how to leverage the tools provided by Vim and tmux and integrate them into their professional working environment. Allowing them to take advantage of the power features these applications provide to become a better programmer.

Table of Contents

1. Introduction

2. Installation and Configuration

3. Fundamentals

4. Files

5. Commands

6. Registers

7. Folding

8. Visual Block Mode

9. Bulk Command Processing

10. Editing Workflow

11. Search and Replace

12. Buffer/Window/Tab Management

13. Automation

14. Lists

15. Marks

16. Sessions

17. Plugins

18. Diffing

19. Custom Commands and Bindings

20. Terminal integration

21. Working with code

22. Practical Tips and Tricks

23. Terminal Multiplexer

24. Fundamentals

25. Modifications

26. Copy and Paste

27. Scripting and Automation

28. Pane/Window Management

29. Pair Programming

30. Workflow Management

商品描述(中文翻譯)

《Pro Vim》教你這個強大的基於終端的文本編輯器的實際工作流程、技巧和竅門。本書涵蓋所有基本知識,以及一些不太為人所知但同樣強大的功能,確保你成為一名高效且專業的使用者,能夠在多個會話之間輕鬆切換,同時操作和控制多種不同的文檔和程式文件。本書的章節易於理解,涵蓋你需要學習的所有領域,是你圖書館中不可或缺的一本書,將使你成為一名快速、高效的 Vim 使用者。

透過本書,你將學會如何正確配置你的終端環境,並在不接觸滑鼠的情況下工作。你將成為 Vim 實際運作的專家:了解緩衝區和會話的運作,透過宏和 shell 腳本進行自動化,掌握實際工作流程,以及如何高效快速地使用插件和不同主題。你還將學到實用的現實世界技巧,如何最佳利用 Vim 與終端多路復用器 tmux 共同使用,幫助你在多個伺服器和終端會話之間管理文件。避免常見的陷阱,並以最佳實踐的方式高效編輯和控制你的文件和會話。

Vim 是一個高級的強大工具,通常被認為難以學習,即使對於經驗豐富的開發者來說也是如此。本書通過不僅專注於 Vim 的基本運作,還提煉作者自己學習 Vim 的經驗,提供了一本易於理解和遵循的指南,幫助你成為專家。是時候將你的程式設計、編輯和工作流程技能提升到專業水平 - 今天就使用《Pro Vim》。

你將學到的內容:
• 理解 Vim 的基本運作,以便更好地利用其功能。
• 使用插件擴展 Vim,並涵蓋各種技術需求的特定插件。
• 通過使用宏和腳本自動化 Vim 和 tmux。
• 學習如何在多個 Vim 緩衝區中同時進行複雜的模式變更。
• 與遠端使用者配對編程,連接到單一本地 tmux 會話。
• 學習整合 Vim 和 tmux 的實際工作流程。

本書適合對象:
《Pro Vim》適合任何希望(或過去嘗試但失敗)理解如何利用 Vim 和 tmux 提供的工具並將其整合到專業工作環境中的開發者。讓他們能夠利用這些應用程序提供的強大功能,成為更好的程式設計師。

目錄:
1. 介紹
2. 安裝與配置
3. 基本知識
4. 文件
5. 命令
6. 寄存器
7. 摺疊
8. 視覺區塊模式
9. 批量命令處理
10. 編輯工作流程
11. 搜尋與替換
12. 緩衝區/窗口/標籤管理
13. 自動化
14. 列表
15. 標記
16. 會話
17. 插件
18. 差異比較
19. 自訂命令與綁定
20. 終端整合
21. 與程式碼合作
22. 實用技巧與竅門
23. 終端多路復用器
24. 基本知識
25. 修改
26. 複製與粘貼
27. 腳本與自動化
28. 窗格/窗口管理
29. 配對編程
30. 工作流程管理