diff --git a/after/plugin/harpoon.lua b/after/plugin/harpoon.lua index eed35ed..0969ab1 100644 --- a/after/plugin/harpoon.lua +++ b/after/plugin/harpoon.lua @@ -4,7 +4,7 @@ local ui = require("harpoon.ui") vim.keymap.set("n", "a", mark.add_file) vim.keymap.set("n", "", ui.toggle_quick_menu) -vim.keymap.set("n", "", function() ui.nav_file(1) end) +-- vim.keymap.set("n", "", function() ui.nav_file(1) end) vim.keymap.set("n", "", function() ui.nav_file(2) end) vim.keymap.set("n", "", function() ui.nav_file(3) end) vim.keymap.set("n", "", function() ui.nav_file(4) end) diff --git a/after/plugin/telescope.lua b/after/plugin/telescope.lua index 4806008..31b9a01 100644 --- a/after/plugin/telescope.lua +++ b/after/plugin/telescope.lua @@ -4,3 +4,4 @@ vim.keymap.set('n', '', builtin.git_files, {}) vim.keymap.set('n', 'ps', function() builtin.grep_string({ search = vim.fn.input("Grep > ") }); end) +vim.keymap.set('n', 'b', builtin.buffers, {}) diff --git a/lazy-lock.json b/lazy-lock.json index fbc800d..11ac01f 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -19,6 +19,7 @@ "plenary.nvim": { "branch": "master", "commit": "08e301982b9a057110ede7a735dd1b5285eb341f" }, "telescope-file-browser.nvim": { "branch": "master", "commit": "4d5fd21bae12ee6e9a79232e1c377f43c419d0c5" }, "telescope.nvim": { "branch": "master", "commit": "fac83a556e7b710dc31433dec727361ca062dbe9" }, + "tmux.nvim": { "branch": "main", "commit": "53ea7eab504730e7e8397fd2ae0133053d56afc8" }, "undotree": { "branch": "master", "commit": "56c684a805fe948936cda0d1b19505b84ad7e065" }, "vim-fugitive": { "branch": "master", "commit": "ce882460cf3db12e99f8bf579cbf99e331f6dd4f" }, "vim-vinegar": { "branch": "master", "commit": "bb1bcddf43cfebe05eb565a84ab069b357d0b3d6" } diff --git a/lua/juliuswaldmann/lazynvim.lua b/lua/juliuswaldmann/lazynvim.lua index b8bf03f..192841c 100644 --- a/lua/juliuswaldmann/lazynvim.lua +++ b/lua/juliuswaldmann/lazynvim.lua @@ -104,7 +104,6 @@ return lazy.setup({ }, } }, - -- Uncomment these lines if you want to use the plugins -- use 'nvim-tree/nvim-tree.lua' -- use 'nvim-tree/nvim-web-devicons' diff --git a/lua/juliuswaldmann/remap.lua b/lua/juliuswaldmann/remap.lua index 3b37ef9..bb0286b 100644 --- a/lua/juliuswaldmann/remap.lua +++ b/lua/juliuswaldmann/remap.lua @@ -10,13 +10,6 @@ vim.keymap.set("n", "", "zz") vim.keymap.set("n", "n", "nzzzv") vim.keymap.set("n", "N", "Nzzzv") -vim.keymap.set("n", "vwm", function() - require("vim-with-me").StartVimWithMe() -end) -vim.keymap.set("n", "svwm", function() - require("vim-with-me").StopVimWithMe() -end) - -- greatest remap ever vim.keymap.set("x", "p", [["_dP]]) @@ -30,11 +23,10 @@ vim.keymap.set({"n", "v"}, "d", [["_d]]) vim.keymap.set("i", "", "") vim.keymap.set("n", "Q", "") -vim.keymap.set("n", "", "silent !tmux neww tmux-sessionizer") vim.keymap.set("n", "f", vim.lsp.buf.format) -vim.keymap.set("n", "", "cnextzz") -vim.keymap.set("n", "", "cprevzz") +-- vim.keymap.set("n", "", "cnextzz") +-- vim.keymap.set("n", "", "cprevzz") vim.keymap.set("n", "k", "lnextzz") vim.keymap.set("n", "j", "lprevzz") @@ -57,10 +49,10 @@ vim.api.nvim_set_keymap( ) --panels -vim.keymap.set('n', '', '', {desc = 'Move to window below'}) -vim.keymap.set('n', '', '', {desc = 'Move to window above'}) -vim.keymap.set('n', '', '', {desc = 'Move to window to the right'}) -vim.keymap.set('n', '', '', {desc = 'Move to window to the left'}) +vim.keymap.set('n', '', '', {desc = 'Move to window below'}) +vim.keymap.set('n', '', '', {desc = 'Move to window above'}) +vim.keymap.set('n', '', '', {desc = 'Move to window to the right'}) +vim.keymap.set('n', '', '', {desc = 'Move to window to the left'}) --terminal ESC vim.keymap.set('t', '', [[]],{noremap=true})