Best of Vim2024

  1. 1
    Article
    Avatar of hnHacker News·2y

    My Obsidian Note-Taking Workflow

    The post details an individual's comprehensive knowledge management workflow using Obsidian for note-taking. It emphasizes the significance of plaintext files and Markdown, utilizing Vim motions for efficient note creation. The workflow aims to achieve a 'Deeper Life' by maintaining a 'Second Brain' for all personal and professional knowledge. Key components include a well-defined note-taking process, essential plugins, and the importance of open file formats. The author also shares insights on how this systematic approach has enhanced clarity, organization, and the ease of retrieving information.

  2. 2
    Article
    Avatar of devtoDEV·2y

    3 Terminal Commands to Increase Your Productivity

    Increase your productivity with these three terminal commands: creating aliases for commands, using pbcopy to copy file contents to the clipboard, and utilizing reverse search to find previously entered commands.

  3. 3
    Article
    Avatar of hnHacker News·2y

    Leaving Neovim for Zed

    The post details the author's transition from Neovim to Zed as their preferred text editor. It covers the speed, ease of use, built-in features, and overall productivity improvements that Zed offers compared to Neovim. Key highlights include Zed's seamless setup, its efficient handling of large codebases, and the well-integrated Vim mode. The author also shares specific configurations and keybindings that help make Zed a good fit for users familiar with Neovim.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    A Vim Guide for Intermediate Users

    The post provides intermediate Vim users with detailed explanations and tips on how to manage files using buffers, windows, tabs, and the argument list. It discusses mapping keystrokes, navigating the jump and change lists, repeating keystrokes using both simple and complex methods, leveraging the command line window, and using the undo tree. The post also recommends various plugins like vim-bbye for better buffer management, winresizer for resizing windows, fzf.vim for easy navigation, and MundoTree for undo tree manipulation.

  5. 5
    Article
    Avatar of trunkioTrunk.io·2y

    Underrated IDE (and code editors)?

    The author expresses interest in exploring underrated IDEs beyond mainstream options like VSCode, JetBrains, and various flavors of vim. They note the growing popularity of Zed and Cursor and acknowledge that no current IDE is perfect.

  6. 6
    Article
    Avatar of communityCommunity Picks·1y

    Moving From IDE to LazyVim

    Transitioning from traditional IDEs to LazyVim can initially be challenging due to Vim's complexity. However, LazyVim, a pre-configured Neovim setup, simplifies this process by offering essential features like syntax highlighting, linter, auto-completion, and Git integration. It also includes the which-key plugin to assist in learning keybindings. LazyVim is powered by lazy.nvim, making it easier to extend configurations with plugins like Avante for AI capabilities and LazyGit for an enhanced Git experience. Installation steps for both LazyVim and useful plugins are provided, along with key configuration and keybindings.

  7. 7
    Article
    Avatar of communityCommunity Picks·2y

    Vim Essentials Cheatsheet & Guide

    The post provides a comprehensive cheatsheet and guide for essential Vim commands, including how to switch modes, move around within Vim, and perform various text-editing tasks. It covers commands for navigating lines, words, sentences, and paragraphs, as well as specific keybindings for editing text, undoing and redoing changes, and searching within files. Useful tips and examples for efficiently using these commands are also included.

  8. 8
    Article
    Avatar of lobstersLobsters·2y

    Why Zellij?

    Zellij is a user-friendly terminal workspace designed to make the terminal more approachable and powerful for all users. It emphasizes discoverability and configurability, allowing for a seamless and personalized development environment without relying on graphical elements. Zellij supports plugins, enhancing the terminal's capabilities while maintaining security and portability. It is free and open-source, created to reimagine the terminal's role in development, encouraging a collaborative and community-driven approach.

  9. 9
    Article
    Avatar of devtoDEV·2y

    On Learning Vim

    The author describes their journey of overcoming fear and frustration to learn Vim, moving from VS Code to using Vim keybindings. Initially challenging, the experience improved with persistence, leading to efficient navigation using Vim. They now use Neovim for a personal Go CLI project while avoiding extensive customization, focusing on efficiency with minimal plugins.

  10. 10
    Article
    Avatar of dhhDavid Heinemeier Hansson·2y

    Wonderful vi

    vi, a text editor created by Bill Joy in 1976, remains influential with its design of splitting insert and command modes. Modern successors like Vim and Neovim carry forward this design, emphasizing productivity by minimizing keystrokes. vi users can perform powerful text manipulations using combinations of commands akin to mastering a complex game. The post recommends starting with the basics and using resources like the LazyVim distribution and tutorials on YouTube to get started.

  11. 11
    Video
    Avatar of mentaloutlawMental Outlaw·2y

    The Best Way to Learn Linux

    The best way to learn Linux is by using the Arch Wiki and man pages for necessary commands. Despite the reputation of Arch Linux as being for advanced users, its automated installer makes it accessible for beginners too. You can also use Manjaro for a GUI-based setup. While YouTube tutorials can be helpful, they often lack the detail and accuracy of written documentation. Moreover, setting up Vim for man pages can enhance your learning experience with syntax highlighting and better navigation features. Tools like TLDR and WikiMan can also simplify learning by providing concise command documentation and offline access to the Arch Wiki.

  12. 12
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    Mastering VIM: Your Guide to Efficient Text Editing

    VIM is a powerful text editor favored by developers for its extensive customization options. A new course on freeCodeCamp by Andrew Brown covers everything from basic commands to advanced features like plugins and VimScript. The course aims to make the steep learning curve of VIM manageable, providing a solid foundation for users to become proficient and integrate VIM into various development environments.

  13. 13
    Article
    Avatar of communityCommunity Picks·2y

    Why Neovim Is My Text Editor of Choice, and What Makes It So Powerful

    Neovim stands out as a powerful text editor primarily due to its keyboard-centric workflow, inherited from Vim, enabling intuitive and powerful editing actions. Setting up Neovim is simple with tools like kickstart.nvim, and its rich plugin ecosystem allows limitless customization. While the learning curve is steep, once mastered, Neovim provides a highly efficient editing experience. Customization can become an obsession, but for focused users, Neovim offers unparalleled capabilities. It may not be the easiest editor, but it's worth trying for those who enjoy experimenting.

  14. 14
    Article
    Avatar of itsfossIt's Foss·1y

    Vi Editor Basics: Must Know Commands

    Vi is a powerful terminal-based text editor available on nearly all Unix and Linux distributions. It operates in two main modes: normal (command) mode for navigation and text manipulation, and insert mode for actual text input. Understanding basic commands for movement, deletion, copying, and pasting can significantly enhance text editing efficiency. Despite its steep learning curve, Vi/Vim offers extensive documentation, a wide range of plugins, and minimal system resource consumption, making it a valuable tool for any Unix-based workflow.

  15. 15
    Article
    Avatar of devtoDEV·2y

    3 Vim commands for blazingly fast navigation between brackets ⚡

    Learn Vim commands for blazingly fast navigation between brackets in programming files.

  16. 16
    Article
    Avatar of communityCommunity Picks·2y

    Vim - key combinations to change text

    Learn key combinations in Vim to quickly edit text and be more productive in coding.

  17. 17
    Video
    Avatar of communityCommunity Picks·2y

    The Ultimate Beginner’s Guide To Learn And Master Vim

    This comprehensive beginner's guide covers essential Vim concepts and commands, focusing on built-in functionality without plugins. It helps users understand and navigate modes, use basic and advanced movement commands, and perform text editing tasks. The guide emphasizes the importance of practice and understanding the underlying concepts of Vim to develop muscle memory and improve coding efficiency.

  18. 18
    Article
    Avatar of lobstersLobsters·2y

    You might be overusing Vim visual mode

    Learn why you might be overusing Vim's visual mode and discover more efficient ways to perform various text editing tasks without it. The post provides examples to illustrate how fewer keystrokes can achieve the same results, advocating for a different mindset when using Vim. Visual mode still has its uses, but normal mode motions can often be quicker.

  19. 19
    Article
    Avatar of rubylaRUBYLAND·2y

    A decade of vim

    A post reflecting on the author's 10 years of using vim, including the switch to neovim, the use of Lua for config, and the transition from ctags to LSP.

  20. 20
    Article
    Avatar of hnHacker News·2y

    An Online Game for VIM Navigation

    Vim Racer is an online speed-based game designed to test and improve your navigation skills using Vim motion commands. Players aim to reach all targets as quickly as possible, with each leaderboard entry displaying the keys used. The game uses relative line numbers and allows one username change per hour to maintain leaderboard integrity. Future updates may include new game types and toggling of line number settings.

  21. 21
    Article
    Avatar of lobstersLobsters·2y

    An Experienced (Neo)Vimmer's Workflow

    Learn how to create a Personalized Development Environment (PDE) using Neovim, focusing on improving functionality with key plugins and configurations. The post covers advanced Neovim tips such as search and replace, keybindings, movement, undo/redo, and integrating essential plugins like Treesitter, Wilder, and Telescope. Additionally, it discusses customizing the status line, enhancing terminal usage, and setting up auto-complete with coc.nvim and Copilot. Ideal for experienced Vim users looking to optimize their workflow.

  22. 22
    Article
    Avatar of itnextITNEXT·2y

    The Power of (Neo)vim AutoCommands

    Neovim AutoCommands are a powerful feature that automate repetitive tasks like linting, formatting, and running tests. They can integrate with external command-line tools, enhancing customization and flexibility. AutoCommands are defined to react to specific events and execute predefined actions, and they can be written in both Lua and VimScript. The post includes examples demonstrating various uses of AutoCommands, such as highlighting yanked text and running Go tests on save, providing a way to streamline and optimize the editing workflow.

  23. 23
    Video
    Avatar of thevimeagenTheVimeagen·2y

    The Greatest Vim Website

    The post discusses a speed-based Vim game called Vim Racer, where players navigate to targets quickly. It describes various strategies and challenges faced by players, including the importance of relative line numbers and the use of macros for faster navigation. The author shares personal experiences and highlights the competitive nature of the game's leaderboard.

  24. 24
    Article
    Avatar of matkladmatklad·2y

    A Missing IDE Feature

    The post suggests a new feature for IDEs: folding method bodies by default. This feature would significantly enhance code readability by collapsing less important code (method bodies) and highlighting critical parts (function signatures). The author calls on contributors to editors like VS Code, Neovim, and others to implement this feature using modern tools like Tree-sitter and language servers, making it easier than it was in the past. The author has actively contributed towards making this feature possible but urges further community action to see it fully realized.

  25. 25
    Video
    Avatar of thevimeagenTheVimeagen·2y

    if you dont like it, make your own

    A developer shares his experience of building a custom Vim plugin for marking up RFC documents while creating an HTTP course. The plugin allows him to annotate important sections and navigate easily through them. The post emphasizes the value of creating personalized tools to solve specific problems efficiently. The plugin's code and setup details are also made available on GitHub.