This commit is contained in:
sankalp committed 2024-06-25 17:37:22 +05:45
1 parent 535e695d51
commit 389d5aa992
11 files changed
+63 -115

No files matched your search

+2
View File
@@ -103,3 +103,5 @@ vim.api.nvim_create_autocmd('FileType', {
vim.opt_local.formatoptions:remove({ 'c', 'r', 'o' })
end,
})
+1 -25
View File
@@ -207,7 +207,7 @@ map('i', '<M-c>', function() return vim.fn['codeium#Clear']() end, { expr = true
-- Oil Explorer
map('n', '<leader>E', function()
require("oil").toggle_float()
require("oil").toggle_float()
end, { desc = icons.documents.OpenFolder .. 'Oil File Explorer' })
@@ -222,27 +222,3 @@ map('n', '<leader>mu', function()
--keymap.set("n", "<leader>tn", ":tabn<CR>") -- next tab
--keymap.set("n", "<leader>tp", ":tabp<CR>") -- previous tab
map("n", '<leader>jo', function()
if vim.bo.filetype == 'java' then
require('jdtls').organize_imports();
end
end)
map("n", '<leader>ju', function()
if vim.bo.filetype == 'java' then
require('jdtls').update_projects_config();
end
end)
map("n", '<leader>jc', function()
if vim.bo.filetype == 'java' then
require('jdtls').test_class();
end
end)
map("n", '<leader>jm', function()
if vim.bo.filetype == 'java' then
require('jdtls').test_nearest_method();
end
end)