We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10e0fb5 commit 1b0b655Copy full SHA for 1b0b655
test.vim
@@ -0,0 +1,20 @@
1
+nnoremap ; :
2
+nnoremap : ;
3
+
4
+if has('win32') || has('mac')
5
+ set clipboard=unnamed
6
+else
7
+ set clipboard=unnamed,unnamedplus
8
+endif
9
10
+execute printf('set runtimepath+=%s', fnamemodify('../denops.vim', ':p'))
11
+execute printf('set runtimepath+=%s', fnamemodify('../denops-startup-recorder.vim', ':p'))
12
+execute printf('set runtimepath+=%s', fnamemodify('.', ':p'))
13
14
+function! s:capture(expr) abort
15
+ let l:result = execute(a:expr)
16
+ enew
17
+ call append(0, split(l:result, '\n'))
18
+ setlocal nomodifiable nomodified buftype=nofile noswapfile
19
+endfunction
20
+command! -nargs=* Capture call s:capture(<q-args>)
0 commit comments