diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2023-06-03 19:42:23 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2023-06-03 19:42:23 -0600 |
commit | 510d4a42fed6647b6db3522c87e59b2f2843a670 (patch) | |
tree | 75bd3c80febc4f5c0f6815e58dd3286ef42f130a /init.lua | |
parent | ad9bdf2f20ce1357c788a749117a3a5d2d3a3c01 (diff) |
minor tweaks
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -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' }, '<Space>', '<Nop>', { 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' }, |