Workflow
Neovim
icon
Search documents
不用记 Vim 指令!VS Code 级交互的终端编辑器,新手轻松拿捏~
菜鸟教程· 2025-12-23 03:31
平时在终端敲代码,用的比较多的还是 Vim,但有时会被 Vim 的反人类键位搞到想砸键盘? 想在服务器上改个配置文件,打开 Vim 后对着黑屏发呆 —— i 进入插入模式、 Esc 退出、 :wq 保存退出,如果不常用这些命令字符总是容易忘 记。VSCode 好用是好用,但很多简单的修改根本用不上,而且用 VSCode 写着写着,鼠标点得手酸,扩展装多了还臃肿~ 尝试 Neovim 想走极客路线,结果一头扎进插件地狱,光配个 LSP 都能折腾一下午? 今天必须安利一款不整那些花里胡哨又轻巧的编辑器 -- Fresh 。 Fresh 让终端编辑器拥有像 VS Code 和 Sublime Text 一样直观、现代的交互体验,不用记复杂指令也能流畅编辑。 命令面板可清晰展示所有可用命令 | File Edit | View Selection | Go Help | | | --- | --- | --- | --- | | r File Explore | | | | | v rockies | Toggle File Explorer | | Ctrl+B s_in_bounds(&self, pos: V2 ...
下一代终端文本编辑器,可以安静写代码,不用跟插件打架了
菜鸟教程· 2025-07-02 01:08
Core Viewpoint - Helix is a modern terminal editor that offers a user-friendly experience without the need for extensive plugin configurations, making it an ideal alternative for users who find Vim's complexity overwhelming and VSCode's resource usage unsatisfactory [2][8]. Group 1: Product Overview - Helix is inspired by Kakoune and Neovim, and is written in Rust [3]. - It is designed to be intelligent, efficient, and lightweight, supporting syntax tree-level code understanding [4]. Group 2: Key Features - Multi-cursor editing is a fundamental operation in Helix, allowing commands to apply simultaneously in multiple locations, inspired by Kakoune [6]. - Syntax-aware editing is enabled through tree-sitter integration, allowing users to select entire functions or JSON objects rather than just character blocks, enhancing syntax highlighting and indentation reliability [6]. - Built-in language server support provides features like auto-completion, definition jumping, error diagnostics, and documentation lookup without requiring additional plugin installations [6]. - Helix includes a built-in fuzzy searcher for file navigation, code symbol searching, and global searches, eliminating the need for external tools [6]. - The editor is optimized for terminal use, ensuring it does not slow down the system and is suitable for low-power environments [6]. - The default experience includes modern features such as automatic bracket completion, project-level navigation, and visual indentation lines [6]. Group 3: Design Philosophy - Unlike Vim, Helix is not a compatibility layer but a complete redesign, featuring clear key bindings and a simplified configuration file [7]. - Helix adopts a "select-operate" model, contrasting with Vim's "operate-select" approach [11]. Group 4: Installation Instructions - Installation methods for various operating systems are provided, including commands for Linux (Ubuntu, Fedora), macOS (Homebrew, MacPorts), and Windows (Winget, Scoop, Chocolatey) [10]. Group 5: Configuration and Usage - Helix's configuration is lightweight, with a default configuration file located at `~/.config/helix/config.toml`, allowing for easy customization [19]. - Basic operations include mode switching, text insertion, cursor movement, and command execution, with intuitive shortcuts for each action [14][18].