aboutsummaryrefslogtreecommitdiff
path: root/plugin/terminal.vim
diff options
context:
space:
mode:
authorMax Christian Pohle2022-12-18 20:29:55 +0100
committerMax Christian Pohle2022-12-18 20:56:01 +0100
commit07797b39851da045aa1bfd0289de0858a1377c48 (patch)
tree4ca5d2b26d2ca9d01fc052fce5a26f88364a53d0 /plugin/terminal.vim
parent1086af63639d2a108f39ae077e0e201dddf4f523 (diff)
downloadvim-07797b39851da045aa1bfd0289de0858a1377c48.tar.bz2
vim-07797b39851da045aa1bfd0289de0858a1377c48.zip
Switched to nvim and neovide
Diffstat (limited to 'plugin/terminal.vim')
-rw-r--r--plugin/terminal.vim19
1 files changed, 0 insertions, 19 deletions
diff --git a/plugin/terminal.vim b/plugin/terminal.vim
deleted file mode 100644
index c8f02fd..0000000
--- a/plugin/terminal.vim
+++ /dev/null
@@ -1,19 +0,0 @@
1augroup TERMINAL
2 " Vim 8 has a terminal command...
3 if has('terminal')
4 " use default ESC key to leave insert mode in the internal terminal emulator
5 tnoremap <Esc> <C-W>N
6 " make terminal windows hidden by default (copied from :help terminal)
7 autocmd BufWinEnter * if &buftype == 'terminal' | setlocal bufhidden=hide | endif
8 endif
9
10 " NEOVIM_incompatible:
11 if has('nvim') " Neovim?
12 autocmd TermOpen term://* set nobuflisted
13 " use default ESC key to leave insert mode in the internal terminal emulator
14 tnoremap <Esc> <C-\><C-n>
15
16 menu &UI.&Open\ in\ Serversession
17 \ :execute ':!nvr --servername /tmp/nvimsocket --remote % +'.line('.')<CR>:stopinsert<CR>:set readonly<CR>
18 endif
19augroup END
..