随笔分类 - Vim
摘要:" echo $MYVIMRC " source $MYVIMRC set enc=utf-8 set fencs=utf-8,gbk,big5,cp936,gb18030,gb2312,utf-16 set fenc=utf-8 set shortmess=atI "禁止bell set bell
阅读全文
posted @ 2023-03-09 14:43
fndefbwefsowpvqfx
摘要:https://github.com/vim https://github.com/vim/vim-win32-installer/releases 配置文件位置 windows C:\Users\yourname\vimfiles C:\Users\yourname\vimfiles\autolo
阅读全文
posted @ 2022-11-30 09:37
fndefbwefsowpvqfx
摘要:" echo $MYVIMRC " source $MYVIMRC set enc=utf-8 set fencs=utf-8,gbk,big5,cp936,gb18030,gb2312,utf-16 set fenc=utf-8 set shortmess=atI "禁止bell set bell
阅读全文
posted @ 2022-11-30 09:34
fndefbwefsowpvqfx
摘要:leader https://vi.stackexchange.com/questions/836/what-is-leader Vim is full of various commands, which are assigned to almost all keys on the keyboar
阅读全文
posted @ 2021-03-13 20:57
fndefbwefsowpvqfx
摘要:-- Selecting Windows SDK version 10.0.18362.0 to target Windows 10.0.18363. -- The C compiler identification is MSVC 19.28.29334.0 -- The CXX compiler
阅读全文
posted @ 2021-03-13 20:46
fndefbwefsowpvqfx
摘要:为什么不用cywin,msys2? 因为windows下,编译会自动选择m$的vs编译器,可能导致编译的时候用的是windows上的python,运行的时候用的cywin或msys2的python。 最终就是运行不了。 节约时间。就不折腾了。 基本 win10 64位 python3 64位 vim
阅读全文
posted @ 2021-03-13 19:14
fndefbwefsowpvqfx
摘要:############################################################################## # VIM CHEATSHEET (中文速查表) - by skywind (created on 2017/10/12) # Version
阅读全文
posted @ 2020-12-28 21:09
fndefbwefsowpvqfx
摘要:进入目录执行下面命令 cd YouCompleteMe git submodule update --init --recursive 5. 安装 仅安装支持Python的版本: ./install.py 安装支持C语言家族的版本: ./install.py --clang-completer 安装
阅读全文
posted @ 2020-08-15 23:14
fndefbwefsowpvqfx
摘要:一句话:放在 ~/.vim/pack/bundle/start/目录下 └── pack └── bundle └── start └── nerdtree-5.3.0 Vim 8+ / Neovim Version 8 introduces a new packages mechanism tha
阅读全文
posted @ 2019-09-20 16:45
fndefbwefsowpvqfx
摘要:复制粘贴 Hard Way You can call vim functions in command mode.The command below will write yanked lines to /tmp/myFile. :call writefile(split(getreg('"'),
阅读全文
posted @ 2019-09-08 16:27
fndefbwefsowpvqfx
摘要:set enc=utf-8 set fencs=utf-8,gbk,big5,cp936,gb18030,gb2312,utf-16 set fenc=utf-8 set number " 不与 Vi 兼容(采用 Vim 自己的操作命令) set nocompatible " 在状态栏显示正在输入的
阅读全文
posted @ 2019-09-08 14:19
fndefbwefsowpvqfx
摘要:hexdump xxd 二进制形式打开 vim -b data.bin 转换 :%!xxd 编辑 转回 :%!xxd -r 完成保存:wq
阅读全文
posted @ 2019-08-16 17:31
fndefbwefsowpvqfx

浙公网安备 33010602011771号