vi is a powerful full-screen text editing tool that has always been the default document editor for UNIX-like operating systems. vim is an enhanced version of the vi text editor, which extends many practical functions based on the vi editor. Enter “Vim file name”: if the file exists, Vim will open the file; if the […]
Tag: vim
Linux: Use of vim editor
Table of Contents 1. What is vim editor? Basic concepts of vim 2. Basic operations of vim 3. vim normal mode command set 4. Vim end line mode command set 5. Vim configuration 1. What is vim editor? Vim is a widely used text editor on Linux systems. It has powerful functions and a high […]
?Use ChatGPT to control Vim and make new discoveries!
AIGC tool ChatGPT meets the old text editor Vim, what kind of sparks will the two create? The author of this article, Lachlan Gray, gave it a try and got an unexpected surprise from automation. Let’s take a look. Original text: https://lachlan-gray.com/Controlling + Vim + With + ChatGPT Do not redistribute without permission. Author | […]
Vim basic operations
Preface: The author is also new to Linux and may not have summarized it well Linux training methods: Basic exercises Today’s radio wave: Mermaid-JJ Lin 0:21━━━━━━?──────── 4:14 ? ? FollowLikeCollect Every encouragement from you is a great support for me Table of Contents 1. Overview of Vim 2. Vim’s four command modes 3. Basic operations […]
Linux-Vim shortcut keys
Vim key arrangement space bar Enter represents the key combination of and f Write, save, exit :q[uit] “Exit :q! ” Force quit :w[rite] ” save :w! “Force saving. Whether the save can be successful depends on the user’s permissions on the file. :w ! sudo tee % ” If you don’t have permission to save, […]
Linux development tool editor vim
Article directory 1.What is vim? 1.1 Ask Du Niang 1.2 Summarize by yourself 2. Preliminary understanding of vim 2.1 Entry and exit 2.2vim mode 1 Introduction 2.Use 3.vim configuration 3.1 Configure it yourself 3.2 Download plug-in 3.3 Install the files configured by the boss 4. Translation of programs 5. Easy to use instructions 1.What is […]
vi vim Press GA at the end of the edit. Add a new line below the last line and press Go.
vim quickly jumps to the end of the file and adds a new line below the last line Move to the end and enter text entry mode GA (capital G and capital A) In normal mode (the mode just entered, esc mode) GA or Shift + ga First G or shift + g to the […]
[Linux]: The use of Linux editor vim as a Linux development tool
1.Linux editor-vim use The difference between vi/vim is simply that they are both multi-mode editors. The difference is that vim is an upgraded version of vi. It is not only compatible with all instructions of vi, but also has some new features in it. For example, syntax highlighting and visual operations can be run not […]
[Text editor nano, vim, gedit, file usage, and version update issues under ubuntu system]
Text Editor Summary Under Ubuntu, there are many text editors to choose from, each with its own unique features and uses. Here are some common text editors: Gedit: This is Ubuntu’s default text editor. It is simple to use and suitable for basic text editing tasks. Installation method: Gedit is usually pre-installed in Ubuntu systems. […]
VIM automatic prompt code plug-in
1. Introduction to Vim-plug Vim-plug is a Vim plug-in manager that uses asynchronous parallelism to quickly install, update and uninstall plug-ins. Its installation and configuration are very simple, and it will give a lot of easy-to-read feedback information during the operation. It is a free, open source, very fast, parallel installation or update of plug-ins, […]