["<C-n>"], "commands": [":nohl"] }, { "before": ["K"], "commands": ["lineBreakInsert"], "silent": true } ], "vim.leader": "<space>", "vim.handleKeys": { "<C-a>": false, "<C-f>": false }, "// To improve performance", "extensions.experimental.affinity": { "...
Describe the bug "Add new headline after current subtree" or "Add new TODO headline" inserts a new heading or list item with the same level as the current line, and moves the cursor to the inserted heading. When another heading exists la...
autocmdTextChanged,InsertLeavesilent%!xxd-r autocmdTextChanged,InsertLeavesilent%!xxd-g1 autocmdTextChanged,InsertLeavecallsetpos('.',b:xxd_cursor)|unletb:xxd_cursor augroupEND "whenfiletypeissettonolongerbe"xxd,"putthebinary "andendoflinesettingsbacktowhattheywerebefore,remove "theautocmds,andr...
autocmd TextChanged,InsertLeave <buffer> silent %!xxd -g1 autocmd TextChanged,InsertLeave <buffer>callsetpos('.', b:xxd_cursor) | unlet b:xxd_cursor augroupEND " when filetype is set to no longer be "xxd," put the binary "andendoflinesettingsbacktowhat they werebefore, remove " th...
You can choose what license to use for new code you add. The changes and their license must not restrict others from making their own changes to the official version of Vim. d) When you have a modified Vim which includes changes as mentioned under c), you can distribute it without the ...
insert a count before the motion to delete more: d number motion 1. Move the cursor to the first UPPER CASE word in the line marked --->. 2. Type d2w to delete the two UPPER CASE words. 3. Repeat steps 1 and 2 with a different count to delete the consecutive ...
A blazing fast and easy to configure Neovim statusline written in Lua. lualine.nvimrequires Neovim >= 0.7. For previous versions of neovim please use compatability tags for example compat-nvim-0.5 Contributing Feel free to create an issue/PR if you want to see anything else implemented. If...
182 * Same, but without coladd. 183 */ 184 typedef struct 185 { 186 linenr_T lnum; // line number 187 colnr_T col; // column number 188 } lpos_T; 189 190 /* 191 * Structure used for growing arrays. 192 * This is used to store information that only grows, is...
(buffer_a, buffer_b) -- add custom logic return buffer_a.modified > buffer_b.modified end]] } } --按键映射 --nnoremap <silent> gb :BufferLinePick<CR> vim.api.nvim_set_keymap("n", "gb", "<Cmd>BufferLinePick<CR>", {noremap = true, silent = true}) vim.api.nvim_set_keymap...
Add this in your init.lua or plugins.lua -- install without yarn or npm { "iamcco/markdown-preview.nvim", cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" }, ft = { "markdown" }, build = function() vim.fn["mkdp#util#install"]() end, } -- install...