From e2b590875b27016c8cf3416a42c54d13b2ecbb6d Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Mon, 28 Feb 2022 18:15:55 -0600 Subject: [PATCH] Minor personal improvements --- lua/keybinds.lua | 4 ++++ lua/plugins.lua | 2 +- lua/settings.lua | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lua/keybinds.lua b/lua/keybinds.lua index 31ceb81..c7afabe 100644 --- a/lua/keybinds.lua +++ b/lua/keybinds.lua @@ -11,6 +11,10 @@ map("n", "", "j", opts) map("n", "", "k", opts) map("n", "", "l", opts) +-- Stay in visual mode when indenting +map("v", "<", "", ">gv", opts) + -- Resize with C-arrow map("n", "", "resize -2", opts) map("n", "", "resize +2", opts) diff --git a/lua/plugins.lua b/lua/plugins.lua index 7fe46bf..c78a704 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -63,7 +63,7 @@ packer.startup { -- Show indentation use { 'lukas-reineke/indent-blankline.nvim', config = function() require'configs.indent-blankline'.config() end } - -- Telescope + -- Telescope (find files, words, git commits, etc) use { 'nvim-telescope/telescope.nvim', config = function() require'configs.telescope'.config() end } use { 'nvim-telescope/telescope-fzf-native.nvim', run = 'make' } diff --git a/lua/settings.lua b/lua/settings.lua index 04f2594..feea668 100644 --- a/lua/settings.lua +++ b/lua/settings.lua @@ -2,6 +2,7 @@ local set = vim.opt set.clipboard = 'unnamedplus' set.mouse = 'a' +set.shortmess = 'filnxtToOfI' -- intention is to just add I set.termguicolors = true -- For colorizer