May 24, 2021 18:00 0 Comment Vim
Tips and suggestions, Tips and suggestions, Tips and suggestions, Displays the line number, Use, :set number, display the line number., The absolute line number is displayed by default,, :set re
May 24, 2021 18:00 0 Comment Vim
File merge, File merge, File merge, Vim brings its own file difference editor (a program that displays differences between multiple files and can easily merge them). S, tart
May 24, 2021 18:00 0 Comment Vim
Vimscript programming reference, Vimscript programming reference, Vimscript foreword, Vimscript thanked you, Vimscript prep knowledge, Vimscript prints information, Vimscript settings
May 24, 2021 19:00 0 Comment Vim
Keyword Characters, Keyword Characters, More about abbreviations, Exercises, Vim has a feature called "abbreviations" that is a bit similar to mapping, but it is used in insert, replace, and command modes., This feature is flex
May 24, 2021 19:00 0 Comment Vim
Automatic commands and abbreviations, Automatic commands and abbreviations, Practice, The last chapter talks about more things, fully understand will be a little difficult, so this chapter is a little easier., Now that we've learned how
May 24, 2021 19:00 0 Comment Vim
The automatic command structure, The automatic command structure, Let's take another example, Multiple events, FileType event, Practice, Now let's talk about something as important as mapping: automatic commands., Automatic commands allow Vim to automate certain specified commands that
May 24, 2021 19:00 0 Comment Vim
Mapping, Mapping, Local Leader, Set up, Cover, Practice, Now let's take a minute to review the three things we've already talked about: mapping, abbreviations, and options, and we'll talk about something new
May 24, 2021 19:00 0 Comment Vim
Learn Map, Learn Map, Practice, This chapter will talk about how to learn Vim more effectively, but before that we need to do a little preparation., Let's start by creating a mapping
May 24, 2021 19:00 0 Comment Vim
A more complex Mapping, A more complex Mapping, Exercises, We've said a lot about mappings so far, but now we're going to do it again., Mappings is one of the quick and easy ways to make Vim editing more effic
May 24, 2021 19:00 0 Comment Vim
Edit the map, Edit the map, Reread the mapping configuration, Practice, Before we move on to Vimscript, let's find a more convenient way to add a new map to the, ~/.vimrc, file., Sometimes you're coding crazy and suddenly
May 24, 2021 19:00 0 Comment Vim
Map the key sequence, Map the key sequence, Leader, Local Leader, Practice, We've learned a keyboard mapping method that doesn't drive us crazy, but you can notice another problem., Every time we map a button like, :nnoremap <
May 24, 2021 19:00 0 Comment Vim
Recursive, Recursive, Negative impact, Non-recursive mapping, Practice, When you're ready, the following will be more difficult to understand., So far,, map, nmap, vmap, imap, and imap. T, hey are convenient, but they have
May 24, 2021 19:00 0 Comment Vim
Enhances memory, Enhances memory, insert mode, Practice, In the last chapter we talked about how to map keys in Vim. T, he command, map, use works innormal mode., If you've tossed yourself before you read th
May 24, 2021 20:00 0 Comment Vim
What's wrong with that?, What's wrong with that?, Put automatic commands in groups (Grouping Autocommands), Clear the automatic command group, Use automatic commands in Vimrc, Practice, In the previous chapters we learned about automatic commands., Follow these commands:, :autocmd BufWrite * :echom "Writing buffer!", Now use the, :wri
May 24, 2021 20:00 0 Comment Vim
Movement map, Movement map, Change the start position, General rules, Practice, This chapter explores another magical part of the Vim mapping system: the Operator-Pending mapping., Before we begin, let's explain the meaning of a f