"editor.formatOnSave":true,"editor.fontSize":15,"editor.tabSize":2,"editor.lineNumbers":"relative","files.autoSave":"off","search.exclude":{//搜素时将某些文件夹下的文件排除在外"**/.cache":true},"files.exclude":{//不在项目中展示这些文件"**/.git":true,},/* vim 配置 */"...
{ "[vue]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[typescript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "editor.formatOnSave": true, "editor.lineNumbers": "relative", "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, // ...
我在vim中设置了相对行号,这样子在进行跳转的时候就可以精确定位行数而且不需要数行号,比如我当前在16行,我想跳到“//关于vim的配置文件”这一句,我只需要在普通模式下按下6h,就会自动跳到16-6行。 设置方法: "editor.lineNumbers":"relative" 有意思的是,如果在vscode中我们找不到对应的设置语句,可以先指定...
我在vim中设置了相对行号,这样子在进行跳转的时候就可以精确定位行数而且不需要数行号,比如我当前在16行,我想跳到“//关于vim的配置文件”这一句,我只需要在普通模式下按下6h,就会自动跳到16-6行。 设置方法: "editor.lineNumbers":"relative" 1. 有意思的是,如果在vscode中我们找不到对应的设置语句,可以先...
"editor.defaultFormatter": "esbenp.prettier-vscode", "editor.lineNumbers": "relative", "explorer.confirmDelete": false, "explorer.confirmDragAndDrop": false, "tabnine.experimentalAutoImports": true, "vim.useSystemClipboard": true, "vim.useCtrlKeys": true, ...
Problem When smart relative line number is enabled ("vim.smartRelativeLine": true), the line numbers in the Jupyter Notebook cell is too close to the code if the cursor is not on those lines. Is it possible to add right margin to these l...
fn.line(".") - 1 -- 0-indexed vscode.action("editor.action.commentLine", { range = { curr_line + 1, curr_line + 3 }, }) end do -- Comment the previous line local curr_line = vim.fn.line(".") - 1 -- 0-indexed local prev_line = curr_line - 1 if prev_line >= 0 ...
我之前尝试在vscode中使用vsocde-vim插件来进行开发,但是我无法忍受它的卡顿,因此我将目光放在了vscode-nvim插件上: 它与vscode-vim插件还是有非常多的区别的,vscode-vim只是一个vim模拟器,好处是配置简单方便,不需要掌握过多的vimrc相关知识,缺点是运行慢,卡顿,没有原生vim操作的丝滑感,此外缺失许多原生vim的功能...
"vim.smartRelativeLine": { "type": "boolean", "markdownDescription": "`#editor.lineNumbers#` is determined by the active Vim mode, absolute when in insert mode, relative otherwise.", "default": false }, "vim.targets.enable": { "type": "boolean", "markdownDescription": "...
:editand Relative Paths When using the:editcommand, VSCodeVim is configured to use relative paths in relation to the currently opened file. It doesn't support TAB completion so it's mostly useful to create new files that co-located or live near the current file you're working on. ...