Minor personal improvements
This commit is contained in:
parent
55e3be353c
commit
e2b590875b
@ -11,6 +11,10 @@ map("n", "<C-j>", "<C-w>j", opts)
|
|||||||
map("n", "<C-k>", "<C-w>k", opts)
|
map("n", "<C-k>", "<C-w>k", opts)
|
||||||
map("n", "<C-l>", "<C-w>l", opts)
|
map("n", "<C-l>", "<C-w>l", opts)
|
||||||
|
|
||||||
|
-- Stay in visual mode when indenting
|
||||||
|
map("v", "<", "<gv", opts)
|
||||||
|
map("v", ">", ">gv", opts)
|
||||||
|
|
||||||
-- Resize with C-arrow
|
-- Resize with C-arrow
|
||||||
map("n", "<C-Up>", "<cmd>resize -2<CR>", opts)
|
map("n", "<C-Up>", "<cmd>resize -2<CR>", opts)
|
||||||
map("n", "<C-Down>", "<cmd>resize +2<CR>", opts)
|
map("n", "<C-Down>", "<cmd>resize +2<CR>", opts)
|
||||||
|
@ -63,7 +63,7 @@ packer.startup {
|
|||||||
-- Show indentation
|
-- Show indentation
|
||||||
use { 'lukas-reineke/indent-blankline.nvim', config = function() require'configs.indent-blankline'.config() end }
|
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.nvim', config = function() require'configs.telescope'.config() end }
|
||||||
use { 'nvim-telescope/telescope-fzf-native.nvim', run = 'make' }
|
use { 'nvim-telescope/telescope-fzf-native.nvim', run = 'make' }
|
||||||
|
|
||||||
|
@ -2,6 +2,7 @@ local set = vim.opt
|
|||||||
|
|
||||||
set.clipboard = 'unnamedplus'
|
set.clipboard = 'unnamedplus'
|
||||||
set.mouse = 'a'
|
set.mouse = 'a'
|
||||||
|
set.shortmess = 'filnxtToOfI' -- intention is to just add I
|
||||||
|
|
||||||
set.termguicolors = true -- For colorizer
|
set.termguicolors = true -- For colorizer
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user