61
GitHub - voldikss/vim-floaterm: Open the terminal in the floating window and tog...
source link: https://github.com/voldikss/vim-floaterm
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
vim-floaterm
This plugin helps open the terminal in the floating window and toggle it quickly, detached from my dotfiles
Installation
- vim-plug
Plug 'voldikss/vim-floaterm'
- dein.nvim
call dein#add('voldikss/vim-floaterm', {'on_cmd': 'FloatermToggle'})
Variables
g:floaterm_type
-
Available:
'floating'
,'normal'
-
Default:
'floating'
g:floaterm_width
-
Type: number
-
Default: value of
&columns
g:floaterm_height
-
Type: number
-
Default: value of
winheight(0)/2
g:floaterm_winblend
-
Type: number(0-100)
-
Default: 0
Command
:FloatermToggle
Configuration
Recommended configuration
noremap <silent> <F12> :FloatermToggle<CR>i noremap! <silent> <F12> <Esc>:FloatermToggle<CR>i tnoremap <silent> <F12> <C-\><C-n>:FloatermToggle<CR>
Q & A
-
This plguin leaves an empty window on startify window
Put this code in
vimrc
autocmd User Startified setlocal buflisted
Todo
- add doc
Screenshot
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK