From 29a0f085e63308c5aee571bb81ef9d640fe42462 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Fri, 16 Jun 2017 17:59:17 +0200 Subject: Quickfix to get a buffer into another window Still needs to be refined --- vimrc-full | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vimrc-full') diff --git a/vimrc-full b/vimrc-full index a3c59c2..b60b645 100644 --- a/vimrc-full +++ b/vimrc-full @@ -672,7 +672,7 @@ if has("autocmd") let @l = ":let g:signify_vcs_cmds={'git': 'git diff --no-color --no-ext-diff -U0 HEAD^ -- %f'}|:SignifyRefresh" - let @r = ":!nvr --servername /tmp/nvimsocket --remote %" + let @r = ":exe ':!nvr --servername /tmp/nvimsocket --remote % +'.line('.')|:stopinsert|:set readonly" " exec current line as a command, insert output of command (from: https://youtu.be/MquaityA1SM?t=35m45s) -- cgit v1.2.3