diff --git a/init.lua b/init.lua index 0707f1e2..a83411a8 100644 --- a/init.lua +++ b/init.lua @@ -28,6 +28,9 @@ vim.opt.rtp:prepend(lazypath) require('lazy').setup({ -- NOTE: First, some plugins that don't require any configuration + -- Manipulate surrounding characters + 'tpope/vim-surround', + -- Git related plugins 'tpope/vim-fugitive', 'tpope/vim-rhubarb', @@ -64,9 +67,6 @@ require('lazy').setup({ -- Adds LSP completion capabilities 'hrsh7th/cmp-nvim-lsp', - - -- Adds a number of user-friendly snippets - 'rafamadriz/friendly-snippets', }, }, @@ -229,6 +229,9 @@ vim.keymap.set({ 'n', 'v' }, '<Space>', '<Nop>', { silent = true }) vim.keymap.set('n', 'k', "v:count == 0 ? 'gk' : 'k'", { expr = true, silent = true }) vim.keymap.set('n', 'j', "v:count == 0 ? 'gj' : 'j'", { expr = true, silent = true }) +-- Show vertical ruler on column 120 +vim.opt.colorcolumn = { '120' } + -- [[ Highlight on yank ]] -- See `:help vim.highlight.on_yank()` local highlight_group = vim.api.nvim_create_augroup('YankHighlight', { clear = true })