1
0

More than 1 year has passed since last update.

VSCode Neovimのinit.luaの個人的設定

Posted at
  • init.luaはC:\Users\ユーザ\AppData\Local\nvimに格納する
if vim.g.vscode then
	vim.keymap.set("n", "<C-a>", ":normal! ggVG<CR>", { noremap = true, silent = true }) -- ctrl+aで全選択
	-- vim.keymap.set('v', '<C-c>', '"*y', { noremap = true, silent = true })            -- vscodeだと機能しない
	
	local opt = vim.opt
	opt.clipboard = 'unnamedplus' -- yankでクリップボードに
else
	-- original
end
1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0