;; Terminal inside nvim. (module config.toggleterm {autoload {: util nvim aniseed.nvim autocmd config.autocmd}}) (def- opts {:size 20 :shade_terminals false}) (defn- set-terminal-keymaps [] (nvim.set_keymap :t : "wincmd h" {}) (nvim.set_keymap :t : "wincmd j" {}) (nvim.set_keymap :t : "wincmd k" {}) (nvim.set_keymap :t : "wincmd l" {})) (util.use-config :toggleterm opts) (autocmd.create-autocmd :TermOpen {:pattern "term://*toggleterm#*" :callback set-terminal-keymaps})