diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-02-22 00:00:36 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-02-22 00:00:36 +0100 |
commit | 78e4bbdb2d5105c638001c81ab7a04755cbb6fe1 (patch) | |
tree | dd9d31f19987730013c0e431972d63ccb89dd7bd /fnl/plugins | |
parent | ad89f1372ea60b9a2d038c114dc0155b4b9df3ea (diff) |
Remove toggle term
Diffstat (limited to 'fnl/plugins')
-rw-r--r-- | fnl/plugins/toggleterm.fnl | 26 |
1 files changed, 0 insertions, 26 deletions
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 :<leader>t 2 :<cmd>ToggleTerm<cr> :desc :Terminal}]) - -(local opts {:size 32 :shade_terminals false}) - -(local auto-cmds [[:TermOpen - {:pattern "term://*toggleterm#*" - :callback (fn [] - (vim.keymap.set :t :<C-h> "<Cmd>wincmd h<CR>" - {}) - (vim.keymap.set :t :<C-j> "<Cmd>wincmd j<CR>" - {}) - (vim.keymap.set :t :<C-k> "<Cmd>wincmd k<CR>" - {}) - (vim.keymap.set :t :<C-l> "<Cmd>wincmd l<CR>" - {}))}] - [: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} |