diff --git a/init.lua b/init.lua index b0efbd04..8133b0ab 100644 --- a/init.lua +++ b/init.lua @@ -289,6 +289,9 @@ vim.o.rnu = true -- Enable mouse mode vim.o.mouse = 'a' +-- Don't show the mode, since it's already in the status line +vim.opt.showmode = false + -- Sync clipboard between OS and Neovim. -- Remove this option if you want your OS clipboard to remain independent. -- See `:help 'clipboard'` @@ -330,7 +333,7 @@ vim.keymap.set('n', 'j', "v:count == 0 ? 'gj' : 'j'", { expr = true, silent = tr -- Map for copy/yank to clipboard vim.keymap.set('v', 'cp', '"+y') --- Diagnostic keymaps +-- Diagnostic keymap vim.keymap.set('n', '[d', vim.diagnostic.goto_prev, { desc = 'Go to previous diagnostic message' }) vim.keymap.set('n', ']d', vim.diagnostic.goto_next, { desc = 'Go to next diagnostic message' }) vim.keymap.set('n', 'e', vim.diagnostic.open_float, { desc = 'Open floating diagnostic message' }) diff --git a/lazy-lock.json b/lazy-lock.json index e135c97d..6650ccba 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -29,6 +29,7 @@ "nvim-treesitter": { "branch": "master", "commit": "649d137371e9214d30b20565e0574824fa3a3670" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "dbcd9388e3b119a87c785e10a00d62876077d23d" }, "nvim-web-devicons": { "branch": "master", "commit": "db0c864375c198cacc171ff373e76bfce2a85045" }, + "oil.nvim": { "branch": "master", "commit": "e462a3446505185adf063566f5007771b69027a1" }, "onedark.nvim": { "branch": "master", "commit": "e7c656ac6b6460aaab817cbd0c9d5c043eda4b43" }, "plenary.nvim": { "branch": "master", "commit": "c47e1a21d235a422034012935febd2d078d77ac6" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" }, diff --git a/lua/custom/plugins/oil.lua b/lua/custom/plugins/oil.lua new file mode 100644 index 00000000..94fe6aa5 --- /dev/null +++ b/lua/custom/plugins/oil.lua @@ -0,0 +1,15 @@ +-- use `nvim .` or `knv .` to open neovim with this active +return { + 'stevearc/oil.nvim', + opts = { + view_options = { + -- Show files and directories that start with "." + show_hidden = true, + } + }, + -- Optional dependencies + dependencies = { "nvim-tree/nvim-web-devicons" }, + + -- set keymap for opening Oil file explorer + vim.keymap.set({ 'n' }, 'oe', ':Oil', { desc = 'Open Oil file explorer', silent = true }) +} diff --git a/lua/kickstart/plugins/debug.lua b/lua/kickstart/plugins/debug.lua index 972694bc..5c493167 100644 --- a/lua/kickstart/plugins/debug.lua +++ b/lua/kickstart/plugins/debug.lua @@ -22,7 +22,7 @@ return { 'leoluz/nvim-dap-go', 'suketa/nvim-dap-ruby', 'mfussenegger/nvim-dap-python', - + }, config = function() local dap = require 'dap' @@ -86,8 +86,11 @@ return { -- Install golang specific config require('dap-go').setup() + require('dap-ruby').setup() require('dap-ruby').setup() - require('dap-python').setup('/Users/stephenleece/.asdf/shims/python') + + + require('dap-python').setup('/Users/stephenleece/src/flask_stephenleece_app/venv/bin/python') end, }