From 510d4a42fed6647b6db3522c87e59b2f2843a670 Mon Sep 17 00:00:00 2001 From: David Luevano Alvarado Date: Sat, 3 Jun 2023 19:42:23 -0600 Subject: minor tweaks --- init.lua | 8 -------- 1 file changed, 8 deletions(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index 9bc1bbf..4a32cbf 100644 --- a/init.lua +++ b/init.lua @@ -20,9 +20,6 @@ vim.opt.rtp:prepend(lazypath) require('lazy').setup('plugins', {}) -- [[ Setting options ]] --- See `:help vim.o` --- NOTE: You can change these options as you wish! - -- Set highlight on search vim.o.hlsearch = false @@ -33,8 +30,6 @@ vim.wo.number = true vim.o.mouse = 'a' -- Sync clipboard between OS and Neovim. --- Remove this option if you want your OS clipboard to remain independent. --- See `:help 'clipboard'` vim.o.clipboard = 'unnamedplus' -- Enable break indent @@ -64,7 +59,6 @@ vim.o.termguicolors = true -- [[ Basic Keymaps ]] -- Keymaps for better default experience --- See `:help vim.keymap.set()` vim.keymap.set({ 'n', 'v' }, '', '', { silent = true }) -- Remap for dealing with word wrap @@ -72,7 +66,6 @@ vim.keymap.set('n', 'k', "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = tr vim.keymap.set('n', 'j', "v:count == 0 ? 'gj' : 'j'", { expr = true, silent = true }) -- [[ Highlight on yank ]] --- See `:help vim.highlight.on_yank()` local highlight_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true }) vim.api.nvim_create_autocmd('TextYankPost', { callback = function() @@ -83,7 +76,6 @@ vim.api.nvim_create_autocmd('TextYankPost', { }) -- [[ Configure Treesitter ]] --- See `:help nvim-treesitter` require('nvim-treesitter.configs').setup { -- Add languages to be installed here that you want installed for treesitter ensure_installed = { 'c', 'cpp', 'go', 'lua', 'python', 'rust', 'tsx', 'typescript', 'vimdoc', 'vim' }, -- cgit v1.2.3-54-g00ecf