local Rule = require("nvim-autopairs.rule") local cond = require("nvim-autopairs.conds") local utils = require('nvim-autopairs.utils') local function quote_creator(opt) local quote = function(...) local move_func = opt.enable_moveright and cond.move_right or cond.none local rule =...
api.nvim_set_keymap local npairs = require('nvim-autopairs') npairs.setup({ map_bs = false, map_cr = false }) vim.g.coq_settings = { keymap = { recommended = false } } -- these mappings are coq recommended mappings unrelated to nvim-autopairs remap('i', '<esc>', [[...
nvim-autopairs/nvim-ts-autotag - 自动括号补全、自动html tag补全 gitlinker.nvim - 自动生成基于git commit ID的可永久分享的git文件链接 markdown-preview.nvim - Markdown文件预览 nvim-highlight-colors - CSS颜色预览 git-blame.nvim - 快速查看git blame ...等等 除此以外,还有一些非常棒的特点:...
-- 显示css的颜色代码的颜色 use "ap/vim-css-color" -- 符号自动匹配,比如:输入(自动闭合) use "windwp/nvim-autopairs" -- 需要加第三方支持 brew install ripgrep 配置#Copynvim ~/.config/nvim/after/plugin/autopairs.rc.lua local status, autopairs = pcall(require, "nvim-autopairs") if (...
autocmd vimenter * NERDTree "-- 设定nerdtree的窗口大小letg:NERDTreeWinSize = 25" -- 打开nerdtree时自动显示bookmarks let NERDTreeShowBookmarks=1 "-- 打开nvim时若没有任何文件,则自动打开nerdtree autocmd vimenter *if!argc()|NERDTree|endif" -- 当nerdtree为唯一视窗时,自动关闭 ...
括号配对: nvim-surround 与nvim-autopairs 与nvim-ts-autotag 与vim-matchup Git: gitsigns 与lazygit 与diffview.nvim 缩进基准线: indent-blankline 光标移动: hop.nvim 与accelerated-jk 窗口选择: nvim-window-picker (默认) 或 yorickpeterse/nvim-window 或vim-choosewin 窗口大小调整: simeji/winres...
\ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim autocmd VimEnter * PlugInstall --sync | source $MYVIMRC endif " === " === Neovim " === if empty(glob('~/.config/nvim/autoload/plug.vim'))silent !curl -fLo ~/.config/nvim/autoload/plug.vim --create-dirs ...
配置nvim ~/.config/nvim/after/plugin/autopairs.rc.lua local status, autopairs = pcall(require, "nvim-autopairs") if (not status) then return end autopairs.setup({ disable_filetype = { "TelescopePrompt" , "vim" }, }) telescope文件搜索...
windwp/nvim-autopairsCompletion pairs Lang NameEffect fatih/vim-goMost powerful plugin for go rust-lang/rust.vimPlugin for rust simrat39/rust-tools.nvimPlugin for rust kristijanhusak/orgmode.nvimOrg mode in nvim iamcco/markdown-preview.nvimMarkdown-preview out of box ...
{ "windwp/nvim-autopairs", config = function() require("nvim-autopairs").setup({}) end, }, { "kylechui/nvim-surround", config = function() require("nvim-surround").setup({}) end, }, { "windwp/nvim-ts-autotag", ft = { "typescript", "typescriptreact" } }, { "Joosep...