From 42af051a2339acdc893d11014b0543aabf4c08da Mon Sep 17 00:00:00 2001 From: Adam Stück Date: Wed, 28 Aug 2024 08:58:46 +0200 Subject: nvim: add nvim-conf git submodule --- .config/nvim/lua/options.lua | 75 -------------------------------------------- 1 file changed, 75 deletions(-) delete mode 100644 .config/nvim/lua/options.lua (limited to '.config/nvim/lua/options.lua') diff --git a/.config/nvim/lua/options.lua b/.config/nvim/lua/options.lua deleted file mode 100644 index cf19c11..0000000 --- a/.config/nvim/lua/options.lua +++ /dev/null @@ -1,75 +0,0 @@ -vim.cmd('syntax enable') -vim.cmd('set undodir=$XDG_CACHE_HOME/nvim/undo') -vim.cmd('set undofile') - -local set = vim.opt -set.mouse = "a" -set.hidden = true -set.wildmenu = true -set.wildignorecase = true -set.fileignorecase = true -set.showcmd = true -set.hlsearch = true -set.ignorecase = true -set.smartcase = true -set.incsearch = true -set.backspace = 'indent,eol,start' -set.pastetoggle = '' -set.confirm = true -set.number = true -set.relativenumber = true -set.shiftwidth = 4 -set.softtabstop = 4 -set.autoindent = true -set.expandtab = true --- set.showmode = false --- set.ruler = false -set.timeout = false -set.ttimeoutlen = 200 -set.wrap = false --- set.fcs = 'eob: ' -set.swapfile = false -set.pumblend = 0 -set.splitright = true -set.splitbelow = true -set.cursorline = true -set.signcolumn = 'auto' -set.title = true --- set.cmdheight = 0 -set.winbar = '%=%m %f' - -vim.cmd([[ -augroup CursorLine - au! - au VimEnter,WinEnter,BufWinEnter * setlocal cursorline - au WinLeave * setlocal nocursorline -augroup END - -autocmd FileType TelescopePrompt setl nocursorline -]]) - --- Disable default vim plugins -local disabled_built_ins = { - "netrw", - "netrwPlugin", - "netrwSettings", - "netrwFileHandlers", - "gzip", - "zip", - "zipPlugin", - "tar", - "tarPlugin", - "getscript", - "getscriptPlugin", - "vimball", - "vimballPlugin", - "2html_plugin", - "logipat", - "rrhelper", - "spellfile_plugin", - "matchit" -} - -for _, plugin in pairs(disabled_built_ins) do - vim.g["loaded_" .. plugin] = 1 -end -- cgit v1.2.3-70-g09d2