dblume commited on 2024-04-30 15:24:26
Showing 2 changed files, with 4 additions and 2 deletions.
For now, I like it simple. Didn't like the default: filename[+] (path/to) - NVIM Let's see how much I tweak this...
... | ... |
@@ -14,7 +14,8 @@ set noruler " Show coordinates on status line |
14 | 14 |
set hidden " Don't abandon Scratch buffer when hidden. |
15 | 15 |
"set cursorline " For CursorLineNR formatting similar to pre 8.0. |
16 | 16 |
set culopt=number " Otherwise diff views have an underline. neovim issue 9800 |
17 |
-set title " Set the title of the terminal window |
|
17 |
+" Set the title of the terminal window. Consider changing titlestring, %t, %M |
|
18 |
+set title titlestring=%f%m\ -\ nvim |
|
18 | 19 |
|
19 | 20 |
" Make j and k move to the next row, not file line |
20 | 21 |
nnoremap j gj |
... | ... |
@@ -16,7 +16,8 @@ set scrolloff=0 " EC2 defaults to 5. Set explicitly to be consistent |
16 | 16 |
set formatoptions+=j " Delete comment character when joining commented lines. |
17 | 17 |
set ttimeoutlen=100 " Affects Esc key, not leader. |
18 | 18 |
set noruler " Don't show cursor pos on right side of status bar |
19 |
-set title " Set the title in the terminal window |
|
19 |
+" Set the title of the terminal window. Consider changing titlestring, %t, %M |
|
20 |
+set title titlestring=%f%m\ -\ vim |
|
20 | 21 |
|
21 | 22 |
if v:version >= 703 |
22 | 23 |
" Do save the undo tree to file, but not in the local directory. |
23 | 24 |