-- 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 ...
## Clipboard (optional) - OK: Clipboard tool found: win32yank ## Python 3 provider (optional) - INFO: `g:python3_host_prog` is not set. Searching for python3 in the environment. - INFO: Multiple python3 executables found. Set `g:python3_host_prog` to avoid surprises. - INFO: Exec...
" 开启自动识别文件类型,并根据文件类型加载不同的插件和缩进规则 filetype plugin indent on set clipboard=unnamed " yy直接复制到系统剪切板(For macvim) cmap w!! w !sudo tee >/dev/null % " w!!写入只读文件 " nnoremap 5j " ctr + j 每次移动5行 " nnoremap 5k " " 标签页操作 " " 打开新...
Don't be like Bob, use neoclip!🎉 neoclipis a clipboard manager for neovim inspired by for exampleclipmenu. It records everything that gets yanked in your vim session (up to a limit which is by default 1000 entries but can be configured). You can then select an entry in the history...
('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-...
Clipboard tool (xclip/xsel/win32yank or other depending on platform) A Nerd Font: optional, provides various icons if you have it set vim.g.have_nerd_font in init.lua to true Language Setup: If you want to write Typescript, you need npm If you want to write Golang, you will ...
\ '*': 'env COPY_PROVIDERS=tmux clipboard-provider paste', \ },\ } endif "随机选⼀个颜⾊风格 function RandomColorScheme()let mycolors = split(globpath(&rtp,"**/colors/*.vim"),"\n") exe 'so ' . mycolors[localtime() % len(mycolors)] unlet mycolors endfunction...
set clipboard+=unnamedplus "当前行下划线 set cursorline "行号宽度 set numberwidth=5 " vim-floaterm nnoremap tl :FloatermNew --height=0.95 --width=0.95 --wintype=floating --name=floaterm1 --position=center --autoclose=2 <CR> nnoremap tr :FloatermNew --height=0.95 --width=0...
Add TM_SELECTED_TEXT and CLIPBOARD support for snippets. Fix check of latest insert char failed. Fix highlight not cleared sometimes. 2019-01-01 Fix issues with completion. 2018-12-31 Break change: created keymaps use rpcrequest instead of rpcnotify. Break change: snippets provider is removed...
" 基本配置 set lazyredraw set ttyfast set number set relativenumber set tabstop=4 set shiftwidth=4 set expandtab set autoindent set smartindent set wrap set cursorline set showcmd set ruler set clipboard=unnamedplus set wildmenu set hlsearch set incsearch syntax on filetype plugin indent on set ...