修改nvim配置 ~/.config/nvim/lua/basic.lua 点击查看代码 -- mac 使用xclip实现系统剪贴板互通; 需要安装xclip:brew install xclipvim.o.clipboard ='unnamedplus' 修改tmux配置 ~/.tmux.conf 点击查看代码 # tmux粘贴板中的内容复制到系统粘贴板中bindC-c run" tmux save-buffer - | xclip -i -sel cli...
-- 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 ...
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...
" === "set clipboard=unnamedplus let &t_ut='' set autochdir" === " === Editor behavior " === set exrc set secure set number set relativenumber set cursorline set hidden set noexpandtab set tabstop=2 set shiftwidth=2 set softtabstop=2 ...
vim.o.clipboard = "unnamedplus" vim.o.breakindent = true vim.o.undofile = true vim.o.ignorecase = true vim.o.smartcase = true vim.o.mouse = "a" vim.o.updatetime = 250 vim.o.timeoutlen = 300 vim.o.completeopt = "menuone,noselect" vim.o.termguicolors = true vim.o.hlsearch...
" 基本配置 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 ...
这几天在 Mac 下装了微软的 Visual Studio Code(下面简称 VSCode),用起来感觉非常不错,很多功能在...
-- Remove this option if you want your OS clipboard to remain independent.-- See `:help 'clipboard'` vim.o.clipboard = 'unnamedplus' -- Enable break indent vim.o.breakindent = true -- Save undo history vim.o.undofile = true ...
set clipboard=unnamedplus "set clipboard+=unnamed " noremap tab noremap K 5k noremap J 5j noremap q h noremap e l noremap:nohlsearch "noremap z v noremap X c "spelling check keyboard map ck :set spell! noremap ss [s noremap s ]s ...
-- 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 vim.cmd(':lan zh_CN.UTF-8') -- Tab vim.opt.tabstop =4-- number of visual spaces per TAB ...