vscode按键调整

今天发现vscodevim插件不能连续输入方向键j, 以为是插件的问题,关闭了插件。 发现在vscode里按住j不放,编辑器并不会连续输入j。 需要调整系统的dafaults关闭PressAndHold选项: enable key-repeating To enable key-repeating, execute the following in your Terminal, log out and back in, and then restart VS Code: 1 defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false # Enable key-repeating for vs code

May 9, 2021 · datewu

vim配置

使用vim有7,8年了,整理一下自己用到的vim配置,方便自查。 vim basic 基本设置,语法高亮,行号,等等: 1 2 3 4 execute pathogen#infect() syntax on filetype plugin indent on set number paste 复制粘贴: disable auto indent 1 set paste Notice the “– INSERT (paste) –” at the bottom of the Vim window. fold 代码折叠: Folding wiki 1 2 " close zc " open zo font 安装字体: install powerline font 1 2 3 wget https://github.com/powerline/powerline/raw/develop/font/PowerlineSymbols.otf open . # double click the otf file you've just downloaded. kubectl eidt issue 使用kubectl edit时,当yaml文件的annotation行过大会报错: ...

May 14, 2018 · datewu