From 3b887240d1d9189be7f4adf75f3e71277b7ca833 Mon Sep 17 00:00:00 2001 From: Vikas Kushwaha Date: Sat, 22 Feb 2025 10:11:38 +0530 Subject: after fixing some boot problems --- .config/nvim/out.vim | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 .config/nvim/out.vim (limited to '.config/nvim/out.vim') diff --git a/.config/nvim/out.vim b/.config/nvim/out.vim deleted file mode 100644 index 6e4e1f1..0000000 --- a/.config/nvim/out.vim +++ /dev/null @@ -1,36 +0,0 @@ -" capture (dump) the (somewhat long) ouput of the commands like `:digraph`, `:map', `:highlight`, `:scripnames` etc. - -function! s:dump(cmd) abort - - " Start a new split or maybe a buffer or a tab - " enew | " open a new buffer - 10split | enew | " open a new split (with 10% height (?)) - " tabnew | " open a new tab - - " Make it a scratch buffer ( `:help special-buffers`) - setlocal - \ bufhidden=wipe - \ buftype=nofile - \ nobuflisted - \ nolist - \ noswapfile - \ norelativenumber - \ nonumber - - " Write the cmd output to the buffer - put =execute(a:cmd) - " There are 2 empty line at the beginning of the buffer before the ouput of - " the cmd. Not sure from where they are comning from. Anyhow I will delete - " them. - norm gg2dd - - " No modifications to this buffer - setlocal readonly nomodifiable nomodified - - " Press escape to close when you're done - nnoremap :bd - -endfunction - -" Define a command to use the function easier -command! -nargs=1 Dump execute "call s:dump(" string() ")" -- cgit v1.2.3