mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-06-23 13:48:35 +02:00
Inserting zoxide
This commit is contained in:
parent
439f26e105
commit
d350f910b6
4 changed files with 126 additions and 5 deletions
40
lua/custom/vim_options.lua
Normal file
40
lua/custom/vim_options.lua
Normal file
|
@ -0,0 +1,40 @@
|
|||
vim.g.mapleader = ' '
|
||||
vim.g.maplocalleader = ' '
|
||||
vim.g.loaded_netrw = 1
|
||||
vim.g.loaded_netrwPlugin = 1
|
||||
vim.g.have_nerd_font = true
|
||||
vim.opt.tabstop = 2
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.encoding = 'UTF-8'
|
||||
vim.opt.wrap = false
|
||||
vim.opt.termguicolors = true
|
||||
vim.opt.autoindent = true
|
||||
vim.api.nvim_create_augroup('neotree', {})
|
||||
vim.api.nvim_create_autocmd('UiEnter', {
|
||||
desc = 'Open Neotree automatically',
|
||||
group = 'neotree',
|
||||
callback = function()
|
||||
if vim.fn.argc() == 0 then
|
||||
vim.cmd 'NvimTreeToggle'
|
||||
end
|
||||
end,
|
||||
})
|
||||
vim.opt.number = true
|
||||
vim.opt.mouse = 'a'
|
||||
vim.opt.showmode = false
|
||||
vim.opt.clipboard = 'unnamedplus'
|
||||
vim.opt.breakindent = true
|
||||
vim.opt.undofile = true
|
||||
vim.opt.ignorecase = true
|
||||
vim.opt.smartcase = true
|
||||
vim.opt.signcolumn = 'yes'
|
||||
vim.opt.updatetime = 250
|
||||
vim.opt.timeoutlen = 300
|
||||
vim.opt.splitright = true
|
||||
vim.opt.splitbelow = true
|
||||
vim.opt.list = true
|
||||
vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' }
|
||||
vim.opt.inccommand = 'split'
|
||||
vim.opt.cursorline = true
|
||||
vim.opt.scrolloff = 10
|
||||
vim.opt.hlsearch = true
|
Loading…
Add table
Add a link
Reference in a new issue