dblume commited on 2024-03-08 19:39:40
Showing 1 changed files, with 1 additions and 0 deletions.
I use scratch buffers often, especially with nv- as: alias nv-='nvim +"setl buftype=nofile" -' Then I execute commands like: rg needle . | nv- Which puts a lot of filenames in a Scratch buffer, and I want to keep that buffer around even when I switch away from it.
... | ... |
@@ -11,6 +11,7 @@ set notermguicolors " Only needed for neovim while I port my color schemes |
11 | 11 |
set undofile " undo even after closing and reopening a file |
12 | 12 |
set noshowcmd " Show size of selected area in visual mode on last line |
13 | 13 |
set noruler " Show coordinates on status line |
14 |
+set hidden " Don't abandon Scratch buffer when hidden. |
|
14 | 15 |
|
15 | 16 |
" The following two lines set the use of perl regex, aka "very magic" |
16 | 17 |
nnoremap / /\v |
17 | 18 |