Skip to content

Commit 206e6ca

Browse files
committed
refactor(vim): optimize key bindings for plugin 'vim-floaterm'
1 parent c7ecc2d commit 206e6ca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vim/vimrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2198,7 +2198,7 @@ endif
21982198

21992199
if &rtp =~ '/vim-floaterm,'
22002200
" 显示或隐藏悬浮终端窗口, 如果悬浮窗口还不存在则新建.
2201-
let g:floaterm_keymap_toggle = '<leader>t'
2201+
let g:floaterm_keymap_toggle = '<leader>,t'
22022202

22032203
" 新建一个悬浮窗口.
22042204
let g:floaterm_keymap_new = '<leader>tc'
@@ -4182,7 +4182,7 @@ endif
41824182
" __ 在 insert 模式下, 输入 __ 后按 ESC 来关闭 table mode.
41834183
"
41844184
" ** voldikss/vim-floaterm (https://github.com/voldikss/vim-floaterm)
4185-
" ,t 显示或隐藏悬浮终端窗口, 如果悬浮窗口还不存在则新建.
4185+
" ,,t 显示或隐藏悬浮终端窗口, 如果悬浮窗口还不存在则新建.
41864186
" ,tc 新建一个悬浮窗口.
41874187
" ,tk 关闭当前悬浮窗口.
41884188
" ,tn 切换到下一个悬浮窗口.

0 commit comments

Comments
 (0)