From 78e4bbdb2d5105c638001c81ab7a04755cbb6fe1 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 22 Feb 2024 00:00:36 +0100 Subject: Remove toggle term --- fnl/plugins/toggleterm.fnl | 26 -------------------------- lazy-lock.json | 1 - 2 files changed, 27 deletions(-) delete mode 100644 fnl/plugins/toggleterm.fnl diff --git a/fnl/plugins/toggleterm.fnl b/fnl/plugins/toggleterm.fnl deleted file mode 100644 index 1d3d516..0000000 --- a/fnl/plugins/toggleterm.fnl +++ /dev/null @@ -1,26 +0,0 @@ -;; Terminal inside nvim. - -(local keys [{1 :t 2 :ToggleTerm :desc :Terminal}]) - -(local opts {:size 32 :shade_terminals false}) - -(local auto-cmds [[:TermOpen - {:pattern "term://*toggleterm#*" - :callback (fn [] - (vim.keymap.set :t : "wincmd h" - {}) - (vim.keymap.set :t : "wincmd j" - {}) - (vim.keymap.set :t : "wincmd k" - {}) - (vim.keymap.set :t : "wincmd l" - {}))}] - [:TermOpen - {:pattern ["term://*toggleterm#*"] - :command "setlocal spell!"}]]) - -(fn init [] - (let [cmds (require :util.cmds)] - (cmds.create-auto-cmds auto-cmds))) - -{1 :akinsho/toggleterm.nvim :version "*" :cmd :ToggleTerm : init : keys : opts} diff --git a/lazy-lock.json b/lazy-lock.json index 2fbad03..78860f2 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -60,7 +60,6 @@ "telescope-fzf-native.nvim": { "branch": "main", "commit": "6c921ca12321edaa773e324ef64ea301a1d0da62" }, "telescope-orgmode.nvim": { "branch": "main", "commit": "d70432192deb51d61aba253688b057d51a5d9ac4" }, "telescope.nvim": { "branch": "master", "commit": "b744cf59752aaa01561afb4223006de26f3836fd" }, - "toggleterm.nvim": { "branch": "main", "commit": "193786e0371e3286d3bc9aa0079da1cd41beaa62" }, "trouble.nvim": { "branch": "main", "commit": "f1168feada93c0154ede4d1fe9183bf69bac54ea" }, "undotree": { "branch": "master", "commit": "9dbbf3b7d19dda0d22ceca461818e4739ad8154d" }, "vim-dadbod": { "branch": "master", "commit": "936e78f44113eac54948474e222293dd70eaef9e" }, -- cgit v1.2.3-70-g09d2