all repos

init.lua @ e619076d2616b687163e965a39a6348cb8a568c0

my nvim config

init.lua/lua/fk/plugin/terminal.lua(view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require("toggleterm").setup {
  size = 20,
  open_mapping = [[<c-t>]],
  hide_numbers = true,
  shade_filetypes = {},
  shade_terminals = true,
  shading_factor = 2,
  start_in_insert = true,
  insert_mappings = true,
  persist_size = false,
  direction = "float",
  close_on_exit = true,
  shell = vim.o.shell,
  float_opts = {
    border = "curved",
    winblend = 1,
    highlights = {
      border = "Normal",
      background = "Normal",
    },
  },
}