St.Antario
  • Member for 5 years, 4 months
  • Last seen more than a month ago
Toggle terminal buffer vimscript function
Accepted answer
2 votes

As @statox suggested in comments I should have used tnoremap to implement it. The following works fine: execute "tnoremap ".g:toggle_term ." <C-w>:call ToggleTerminal()<CR>" The mistake ...

View answer