diff --git a/init.lua b/init.lua index 726e48f7..c0a54b57 100644 --- a/init.lua +++ b/init.lua @@ -198,8 +198,8 @@ require('lazy').setup({ -- NOTE: Next Step on Your Neovim Journey: Add/Configure additional "plugins" for kickstart -- These are some example plugins that I've included in the kickstart repository. -- Uncomment any of the lines below to enable them. - -- require 'kickstart.plugins.autoformat', - -- require 'kickstart.plugins.debug', + require 'kickstart.plugins.autoformat', + require 'kickstart.plugins.debug', -- NOTE: The import below automatically adds your own plugins, configuration, etc from `lua/custom/plugins/*.lua` -- You can use this folder to prevent any conflicts with this init.lua if you're interested in keeping @@ -451,7 +451,7 @@ local servers = { clangd = {}, gopls = {}, -- solargraph = {}, - ruby_ls = {}, + -- ruby_ls = {}, sqlls = {}, angularls = {}, bashls = {}, @@ -548,7 +548,7 @@ cmp.setup { }, } -vim.cmd [[autocmd BufWritePre * lua vim.lsp.buf.format()]] +-- vim.cmd [[autocmd BufWritePre * lua vim.lsp.buf.format()]] -- The line beneath this is called `modeline`. See `:help modeline` -- vim: ts=2 sts=2 sw=2 et diff --git a/lua/custom/plugins/easymotion.lua b/lua/custom/plugins/easymotion.lua index 82639d4f..802d4221 100644 --- a/lua/custom/plugins/easymotion.lua +++ b/lua/custom/plugins/easymotion.lua @@ -1,3 +1,9 @@ return { - 'easymotion/vim-easymotion' + 'easymotion/vim-easymotion', + config = function() + vim.keymap.set('n', 'f', '(easymotion-f)', { desc = '[f]ind next character' }) + vim.keymap.set('n', 'F', '(easymotion-F)', { desc = '[F]ind previous character' }) + vim.keymap.set('n', 't', '(easymotion-t)', { desc = '[t]ill next character' }) + vim.keymap.set('n', 'T', '(easymotion-T)', { desc = '[T]ill previous character' }) + end, } diff --git a/lua/custom/plugins/filtree.lua b/lua/custom/plugins/filetree.lua similarity index 100% rename from lua/custom/plugins/filtree.lua rename to lua/custom/plugins/filetree.lua diff --git a/lua/custom/plugins/leetcode.lua b/lua/custom/plugins/leetcode.lua deleted file mode 100644 index 5ee4663b..00000000 --- a/lua/custom/plugins/leetcode.lua +++ /dev/null @@ -1,10 +0,0 @@ -return { - 'mbledkowski/neuleetcode.vim', - config = function() - vim.g.leetcode_browser = 'chrome' - vim.keymap.set('n', 'll', ':LeetCodeList', { desc = '[L]eetCode [L]ist' }) - vim.keymap.set('n', 'lt', ':LeetCodeTest', { desc = '[L]eetCode [T]est' }) - vim.keymap.set('n', 'ls', ':LeetCodeSubmit', { desc = '[L]eetCode [S]ubmit' }) - vim.keymap.set('n', 'li', ':LeetCodeSignIn', { desc = '[L]eetCode Sign [I]n' }) - end, -} diff --git a/lua/custom/plugins/markdown-preview.lua b/lua/custom/plugins/markdown-preview.lua deleted file mode 100644 index cf277aa0..00000000 --- a/lua/custom/plugins/markdown-preview.lua +++ /dev/null @@ -1,4 +0,0 @@ -return { - "iamcco/markdown-preview.nvim", - run = function() vim.fn["mkdp#util#install"]() end, -} diff --git a/lua/custom/plugins/nvim-dap.lua b/lua/custom/plugins/nvim-dap.lua deleted file mode 100644 index 2471b2c2..00000000 --- a/lua/custom/plugins/nvim-dap.lua +++ /dev/null @@ -1,3 +0,0 @@ -return { - 'mfussenegger/nvim-dap' -}