diff --git a/__pycache__/sample.d.er b/__pycache__/sample.d.er new file mode 100644 index 00000000..5201f30d --- /dev/null +++ b/__pycache__/sample.d.er @@ -0,0 +1,23 @@ +##[pylyzer] succeed c:\users\foo50\appdata\local\nvim\sample.py 1762887677 757 + + + +.json: global::Dict!({{"d"}: {4}, {"b"}: {2}, {"c"}: {3}, {"a"}: {1}}) + +.sample_func: () -> NoneType + + + + +.json: global::Dict!({{"d"}: {4}, {"b"}: {2}, {"c"}: {3}, {"a"}: {1}}) + + + + + +.json: global::Dict!({{"d"}: {4}, {"b"}: {2}, {"c"}: {3}, {"a"}: {1}}) + + + + + diff --git a/lua/config/keymaps.lua b/lua/config/keymaps.lua index a09f4caa..730cb325 100644 --- a/lua/config/keymaps.lua +++ b/lua/config/keymaps.lua @@ -7,6 +7,7 @@ map('n', '', 'nohlsearch') map('n', 'z', function() print("hey") end, { desc = "Print hey" }) + -- Keybinds to make split navigation easier. -- Use CTRL+ to switch between windows -- See `:help wincmd` for a list of all window commands @@ -15,3 +16,4 @@ map('n', '', '', { desc = 'Move focus to the right window' }) map('n', '', '', { desc = 'Move focus to the lower window' }) map('n', '', '', { desc = 'Move focus to the upper window' }) +map("n", "-", "Oil", { desc = "Open parent directory" } ) diff --git a/lua/plugins/plugins.lua b/lua/plugins/plugins.lua index f06b29a4..b574577f 100644 --- a/lua/plugins/plugins.lua +++ b/lua/plugins/plugins.lua @@ -103,5 +103,23 @@ return { vim.keymap.set('n', 'f.', builtin.oldfiles, { desc = '[F]ind Recent Files ("." for repeat)' }) vim.keymap.set('n', '', builtin.buffers, { desc = '[ ] Find existing buffers' }) end, - } + }, + + { + "kylechui/nvim-surround", + version = "^3.0.0", -- Use for stability; omit to use `main` branch for the latest features + event = "VeryLazy", + config = function() + require("nvim-surround").setup({}) + end + }, + + { + "stevearc/oil.nvim", + ---@module 'oil' + ---@type oil.SetupOpts + opts = {}, + lazy = false, + } + } diff --git a/sample.py b/sample.py index c350cc6f..fd54bdf8 100644 --- a/sample.py +++ b/sample.py @@ -4,13 +4,14 @@ print("hello, world, ") print("hello, world, ") print("hello sir") json = { - "a" : 1, + 'a' : 1, "b" : 2, "c" : 3, "d" : 4, } print("file name sample.py") - +def sample_func(): + print(123) #################################################### print("hello, worldworld")