update
This commit is contained in:
parent
ce74176b29
commit
2f469766cc
12
init.lua
12
init.lua
|
|
@ -110,14 +110,6 @@ vim.o.mouse = 'a'
|
|||
-- Don't show the mode, since it's already in the status line
|
||||
vim.o.showmode = false
|
||||
|
||||
-- Sync clipboard between OS and Neovim.
|
||||
-- Schedule the setting after `UiEnter` because it can increase startup-time.
|
||||
-- Remove this option if you want your OS clipboard to remain independent.
|
||||
-- See `:help 'clipboard'`
|
||||
vim.schedule(function()
|
||||
vim.o.clipboard = 'unnamedplus'
|
||||
end)
|
||||
|
||||
-- Enable break indent
|
||||
vim.o.breakindent = true
|
||||
|
||||
|
|
@ -217,6 +209,10 @@ vim.keymap.set('n', '<leader>tt', ':tabnew | terminal<CR>', { desc = 'Terminal i
|
|||
-- Toggle terminal (requires a plugin like toggleterm.nvim)
|
||||
vim.keymap.set('n', '<leader>tf', ':ToggleTerm<CR>', { desc = 'Toggle floating terminal' })
|
||||
|
||||
-- relative line number
|
||||
vim.opt.number = true
|
||||
vim.opt.relativenumber = true
|
||||
|
||||
-- [[ Basic Autocommands ]]
|
||||
-- See `:help lua-guide-autocommands`
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue