Compare commits

..
2 Commits
Author SHA1 Message Date
dylan f326d1f42e fix scrolloff 2026-10-21 12:54:52 -04:00
dylan ae039e4352 add java back and remove q: menu 2026-10-09 17:07:21 -04:00
+12 -1
View File
@@ -178,6 +178,11 @@ vim.keymap.set('n', 'q:', '<nop>')
vim.keymap.set('n', 'q/', '<nop>') vim.keymap.set('n', 'q/', '<nop>')
vim.keymap.set('n', 'q?', '<nop>') vim.keymap.set('n', 'q?', '<nop>')
vim.keymap.set('c', '<C-f>', '<nop>') vim.keymap.set('c', '<C-f>', '<nop>')
vim.api.nvim_create_autocmd('CmdwinEnter', {
callback = function()
vim.cmd 'quit'
end,
})
-- Diagnostic keymaps -- Diagnostic keymaps
vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' }) vim.keymap.set('n', '<leader>q', vim.diagnostic.setloclist, { desc = 'Open diagnostic [Q]uickfix list' })
@@ -252,6 +257,12 @@ require('lazy').setup({
-- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link). -- NOTE: Plugins can be added with a link (or for a github repo: 'owner/repo' link).
'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically 'tpope/vim-sleuth', -- Detect tabstop and shiftwidth automatically
{
'Aasim-A/scrollEOF.nvim',
event = { 'CursorMoved', 'WinScrolled' },
opts = {},
},
-- NOTE: Plugins can also be added by using a table, -- NOTE: Plugins can also be added by using a table,
-- with the first argument being the link and the following -- with the first argument being the link and the following
-- keys can be used to configure plugin behavior/loading/etc. -- keys can be used to configure plugin behavior/loading/etc.
@@ -1042,7 +1053,7 @@ require('lazy').setup({
config = function() config = function()
local ts = require 'nvim-treesitter' local ts = require 'nvim-treesitter'
ts.setup() ts.setup()
ts.install { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' } ts.install { 'bash', 'c', 'diff', 'html', 'java', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' }
vim.api.nvim_create_autocmd('FileType', { vim.api.nvim_create_autocmd('FileType', {
callback = function(args) callback = function(args)