Browse Source

add floaterm

Chris 4 năm trước cách đây
mục cha
commit
ba701db787
2 tập tin đã thay đổi với 14 bổ sung0 xóa
  1. 13 0
      lua/nv-floaterm/init.lua
  2. 1 0
      lua/plugins.lua

+ 13 - 0
lua/nv-floaterm/init.lua

@@ -0,0 +1,13 @@
+-- Floaterm
+vim.g.floaterm_keymap_toggle = '<F1>'
+vim.g.floaterm_keymap_next   = '<F2>'
+vim.g.floaterm_keymap_prev   = '<F3>'
+vim.g.floaterm_keymap_new    = '<F4>'
+vim.g.floaterm_title=''
+
+vim.g.floaterm_gitcommit='floaterm'
+vim.g.floaterm_autoinsert=1
+vim.g.floaterm_width=0.8
+vim.g.floaterm_height=0.8
+vim.g.floaterm_wintitle=0
+vim.g.floaterm_autoclose=1

+ 1 - 0
lua/plugins.lua

@@ -86,4 +86,5 @@ return require('packer').startup(function()
   use { 'glacambre/firenvim', run = function() vim.fn['firenvim#install'](1) end }
   use 'liuchengxu/vim-which-key'
   use 'tpope/vim-sleuth'
+  use 'voldikss/vim-floaterm'
 end)