自动安装packer插件 local fn = vim.fn local install_path = fn.stdpath('data')..'/site/pack/packer/start/packer.nvim' if fn.empty(fn.glob(install_path)) > 0 then --fn.system({'git', 'clone', '--depth', '1', 'https://github....
-- Hint: use `:h ` to figure out the meaning if needed vim.opt.clipboard = 'unnamedplus' -- use system clipboard vim.opt.completeopt = { 'menu', 'menuone', 'noselect' } vim.opt.mouse = 'a' -- allow the mouse to be used in Nvim -- Tab vim.opt.tabstop = 4 -- number ...
use "folke/lsp-colors.nvim" -- 基于neovim 内置lsp 的轻量级lsp 插件,具有高性能UI。非常酷 use 'rinx/lspsaga.nvim' 配置nvim ~/.config/nvim/after/plugin/lsp-colors.rc.vim if !exists('#LspColors') | finish | endif lua << EOF require("lsp-colors").setup({ Error = "#db4b4b", ...
" Copy to system clipboard vnoremap Y "+y " Indentation nnoremap < << nnoremap > >> " Delete find pair nnoremap dy d% " Search noremap <LEADER><CR> :nohlsearch<CR> " Adjacent duplicate words noremap <LEADER>dw /\(\<\w\+\>\)\_s*\1 " Space to Tab nnoremap ...
\ '+': 'clipboard-provider paste',\ '*': 'env COPY_PROVIDERS=tmux clipboard-provider paste', \ },\ } endif "随机选⼀个颜⾊风格 function RandomColorScheme()let mycolors = split(globpath(&rtp,"**/colors/*.vim"),"\n") exe 'so ' . mycolors[localtime() % len...
MoltenImagePopupnoneOpen an image from the current output with python'sImage.show(). This will use your system's default image viewer, this behavior can happen automatically (see:molten_auto_image_popup) MoltenRestart[!] [kernel]Shuts down a restarts the kernel. Deletes all outputs if used ...
('clipboard-provider') let g:clipboard = { \ 'name': 'myClipboard', \ 'copy': { \ '+': 'clipboard-provider copy', \ '*': 'env COPY_PROVIDERS=tmux clipboard-provider copy', \ }, \ 'paste': { \ '+': 'clipboard-provider paste', \ '*': 'env COPY_PROVIDERS=tmux clipboard-...
set clipboard=unnamed "自动切换输入法ifexecutable('im-select') autocmd InsertLeave * :call system("im-select com.apple.keylayout.ABC") autocmd CmdlineLeave * :call system("im-select com.apple.keylayout.ABC") endif" --- settings --- if exists...
FlutterCopyProfilerUrl- Copies the profiler url to your system clipboard (+ register). Note that commandsFlutterRunandFlutterDevToolsmust be executed first. FlutterLspRestart- This command restarts the dart language server, and is intended for situations where it begins to work incorrectly. FlutterSupe...
To use fast search in whole project install 'ripgrep' To use system clipboard please install 'xclip'. Link files from this repo to nvim dir ln -s <cloned_repo_path>/config/* ~/.config/nvim Start nvim First run leads to many errors because no plugins have been installed. Please...