diff options
author | Matthew Lemon <y@yulqen.org> | 2023-05-14 09:10:26 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2023-05-14 09:10:26 +0100 |
commit | 0721b537a8aa3be8b70c183b25951494df9dcd0e (patch) | |
tree | eff07bbc31aeefbb9d2e441bb5ca8b5a5a527ffb /nvim/lua/lemon/remap.lua | |
parent | 10a89dfbc6bc57ce12c8cf90f1b38a34b728b369 (diff) |
Installs nvim config base-idea
Diffstat (limited to 'nvim/lua/lemon/remap.lua')
-rw-r--r-- | nvim/lua/lemon/remap.lua | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/nvim/lua/lemon/remap.lua b/nvim/lua/lemon/remap.lua deleted file mode 100644 index 0d2f247..0000000 --- a/nvim/lua/lemon/remap.lua +++ /dev/null @@ -1,45 +0,0 @@ --- ThePrimeagent's stuff -vim.g.mapleader = " " -vim.keymap.set("n", "<leader>pv", vim.cmd.Ex) - -vim.keymap.set("v", "J", ":m '>+1<CR>gv=gv") -vim.keymap.set("v", "K", ":m '<-2<CR>gv=gv") - -vim.keymap.set("n", "J", "mzJ`z") -vim.keymap.set("n", "<C-d>", "<C-d>zz") -vim.keymap.set("n", "<C-u>", "<C-u>zz") -vim.keymap.set("n", "n", "nzzzv") -vim.keymap.set("n", "N", "Nzzzv") - --- greatest remap ever -vim.keymap.set("x", "<leader>p", [["_dP]]) - --- next greatest remap ever : asbjornHaland -vim.keymap.set({"n", "v"}, "<leader>y", [["+y]]) -vim.keymap.set("n", "<leader>Y", [["+Y]]) - -vim.keymap.set({"n", "v"}, "<leader>d", [["_d]]) - --- This is going to get me cancelled -vim.keymap.set("i", "<C-c>", "<Esc>") - -vim.keymap.set("n", "Q", "<nop>") ---vim.keymap.set("n", "<C-f>", "<cmd>silent !tmux neww tmux-sessionizer<CR>") --- vim.keymap.set("n", "<leader>f", vim.lsp.buf.format) - -vim.keymap.set("n", "<C-k>", "<cmd>cnext<CR>zz") -vim.keymap.set("n", "<C-j>", "<cmd>cprev<CR>zz") -vim.keymap.set("n", "<leader>k", "<cmd>lnext<CR>zz") -vim.keymap.set("n", "<leader>j", "<cmd>lprev<CR>zz") - -vim.keymap.set("n", "<leader>s", [[:%s/\<<C-r><C-w>\>/<C-r><C-w>/gI<Left><Left><Left>]]) -vim.keymap.set("n", "<leader>x", "<cmd>!chmod +x %<CR>", { silent = true }) - -vim.keymap.set("n", "<leader>ev", "<cmd>e ~/dotfiles/nvim/lua/lemon/packer.lua<CR>"); -vim.keymap.set("n", "<leader>mr", "<cmd>CellularAutomaton make_it_rain<CR>"); - -vim.keymap.set("n", "<leader><leader>", function() - vim.cmd("so") -end) --- end ThePrimeagent's stuff - |