aiken's blog
  • home
  • archives
  • search
  • Aiken's Blog
  • home
  • posts
  • tags
  • categories
  • archives
  • about
  • search
  • linklog
Home » Tags

Vim

Vim 01 Recorder

Chose Your Dotfile to start the vim shell vim -u {path to your .vimrc} Recorder of Vim This Chapter mainly introduces the Recorder in vim,Which is used to do some repeated operations.This function is also called a macro. for more information try :help recording ...

April 7, 2022 · 2 min · 376 words · aikenhong ·  Vim
#Vim

Vim 00 Basic Opeation

this is the Note record the vimtutor (the basic usage of vim.) @Aiken 2021 write some word and we can use shift+a to insert in the end. the doc with Chinese delete command skip words and lines undo and resume replace and change location and file status search command find the matched parentheses 找到对应的括号 substitute command 替换命令 EXECUTE AN ECTERNAL COMMAND THE OPEN COMMAND COPY AND PASTE SET OPTION KEYSHORT delete command Most of the command can use NUM to repeat it. d num command means delete num times with args below: c means del and change mode to insert: ...

October 14, 2021 · 3 min · 532 words · aikenhong ·  Vim
#Vim

Vim Configuration 01 vim的无插件基础设置

该配置笔记于 20230521 重新整理。默认的 Vimrc 位置为 /usr/share/vim/vimrc,也可以在 vim 界面使用 :echo $MYVIMRC 查看当前的配置文件,默认使用的配置文件地址为 ~/.vimrc 参考文献地址:Good VimRC | Backspace | AutoCmd | VIM配置入门 配置文件地址:AikenDotfile ,本文这里只介绍部分配置,一些过于常见的配置等等这里就不再介绍,在 dotfile 中对每行配置均有的细致的注释。 基于 VimScript) 该 blog 主要记录基础 vim 的配置文件编写,旨在使用基础 vim 的时候也能有一个较好的代码编辑体验,同时提供部分 keymap 集成一些简单的功能,方便文档编写时候的格式转换等。这个配置文件在后续配置 nvim 的时候部分配置也会沿用。 Vim 的基础配置 自动检测文件修改,以及对多个文件的 workspace 自动切换 vim " >>0-1 state detection. set autoread " when file change outside, we will know set autochdir " change workspace when we swtich file, when we open multi-file in one session. 鼠标和剪切板功能 设置 vim 对鼠标的支持,支持鼠标选择等 ...

October 7, 2021 · 4 min · 663 words · aikenhong ·  Vimscript ·  Vim
#Vimscript #Vim
© 2025 aiken's blog Licensed under CC BY-NC 4.0 · Powered by Hugo & PaperMod Visitors: Views: