Modern Vim: Craft Your Development Environment with Vim 8 and Neovim

Drew Neil

買這商品的人也買了...

商品描述

Turn Vim into a full-blown development environment using Vim 8's new features and this sequel to the beloved bestseller Practical Vim. Integrate your editor with tools for building, testing, linting, indexing, and searching your codebase. Discover the future of Vim with Neovim: a fork of Vim that includes a built-in terminal emulator that will transform your workflow. Whether you choose to switch to Neovim or stick with Vim 8, you'll be a better developer.

A serious tool for programmers and web developers, no other text editor comes close to Vim for speed and efficiency. Make Vim the centerpiece of a Unix-based IDE as you discover new ways to work with Vim 8 and Neovim in more than 20 hands-on tips.

Execute tasks asynchronously, allowing you to continue in Vim while linting, grepping, building a project, or running a test suite. Install plugins to be loaded on startup - or on-demand when you need them - with Vim 8's new package support. Save and restore sessions, enabling you to quit Vim and restart again while preserving your window layout and undo history. Use Neovim as a drop-in replacement for Vim - it supports all of the features Vim 8 offers and more, including an integrated terminal that lets you quickly perform interactive commands. And if you enjoy using tmux and Vim together, you'll love Neovim's terminal emulator, which lets you run an interactive shell in a buffer. The terminal buffers fit naturally with Vim's split windows, and you can use Normal mode commands to scroll, search, copy, and paste. On top of all that: Neovim's terminal buffers are scriptable.

With Vim at the core of your development environment, you'll become a faster and more efficient developer.

What You Need:

You'll need a Unix-based environment and an up-to-date release of Vim (8.0 or newer). For the tips about running a terminal emulator, you'll need to install Neovim.

商品描述(中文翻譯)

將Vim 8的新功能與深受喜愛的暢銷書《實用Vim》的續集結合,將Vim轉變為一個完整的開發環境。將您的編輯器與建構、測試、linting、索引和搜尋程式碼的工具整合在一起。透過Neovim,探索Vim的未來:這是Vim的一個分支,包含一個內建的終端模擬器,將改變您的工作流程。無論您選擇切換到Neovim還是繼續使用Vim 8,您都將成為一位更優秀的開發者。

作為程序員和網頁開發人員的重要工具,沒有其他文本編輯器能夠與Vim的速度和效率相媲美。通過這本書中的20多個實踐技巧,將Vim 8和Neovim作為Unix-based IDE的核心,發現與Vim合作的新方法。

在Vim中異步執行任務,讓您在linting、grepping、建構專案或運行測試套件時仍然可以繼續編輯。使用Vim 8的新套件支援,在啟動時或在需要時按需載入插件。保存和恢復工作階段,讓您可以退出Vim並重新啟動,同時保留窗口佈局和撤銷歷史記錄。將Neovim用作Vim的替代品-它支援Vim 8提供的所有功能,並且還包括一個內建的終端模擬器,讓您可以快速執行互動命令。如果您喜歡在tmux和Vim一起使用,您會喜歡Neovim的終端模擬器,它可以讓您在緩衝區中運行互動式shell。終端緩衝區與Vim的分割窗口自然結合,您可以使用Normal模式命令進行滾動、搜索、複製和粘貼。最重要的是:Neovim的終端緩衝區是可編寫的。

擁有Vim作為開發環境的核心,您將成為一位更快速和高效的開發者。

需要準備Unix-based環境和最新版本的Vim(8.0或更新)。如果您想要運行終端模擬器,您需要安裝Neovim。