usability improvements

- add autocmds to highlight yanking and disabling line numbers in Oil
- lsp-zero: fix 'gd' command by setting 'preserve_mappings' to false
- lualine: show clock, simplify statusline, shorten mode name
- oil: decrease float window size, add 'q' hotkey to close window
- prefs: show line numbers again, disable additional mode showing
- add todo-comments.nvim
- remap: add keymap to find all TODOs/FIXME/XXX etc.
This commit is contained in:
Oliver Ladner 2024-03-05 21:32:07 +01:00
commit 480a5c2fff
10 changed files with 96 additions and 21 deletions

View file

@ -10,7 +10,7 @@ vim.opt.ignorecase = true
vim.opt.smartcase = true
-- Show line numbers default
--vim.opt.number = true
vim.opt.number = true
-- Show relative line numbers
vim.opt.relativenumber = true
@ -66,3 +66,6 @@ vim.opt.splitbelow = true
-- Split windows appear to the right instead of left
vim.opt.splitright = true
-- Mode is shown in lualine, so we don't need it one line below
vim.opt.showmode = false