summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Sima <bsima@groq.com>2022-07-06 18:37:46 -0700
committerBen Sima <bsima@groq.com>2022-07-06 18:39:41 -0700
commitfe3b16632e15997c79adbbec2a0fb0f4588a0a9d (patch)
treee57d2044eb67c7e4d0d8ff0bdaea14e8f18b7197 /lib
parent85adcfaee220490787b78137ddc967d43f7eb62a (diff)
set title and laststatus
laststatus doesn't actually work because it is overriden by vim-sensible... so maybe I should just copy+paste their code into my vimrc, its only a few lines...
Diffstat (limited to 'lib')
-rw-r--r--lib/vimrc3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/vimrc b/lib/vimrc
index cb7cf95..4e6c459 100644
--- a/lib/vimrc
+++ b/lib/vimrc
@@ -6,7 +6,7 @@ set encoding=utf-8 " Set encoding
set expandtab " Use spaces instead of tabs
set formatoptions+=j " Delete comment character when joining commented lines
set hlsearch " Highlight all search results
-set laststatus=2 " Always status line
+set laststatus=1 " show status line only during split windows
set ignorecase " Ignore cases when searching
set incsearch " Incremental search
set linebreak " Break lines at word (requires Wrap lines)
@@ -18,6 +18,7 @@ set smartcase " Better searching btw cases
set smartindent " Autoindent when starting a new line
set smarttab " Tab insertion & deletion
set tabstop=4 " One tab = 4 spaces
+set title " set window title to name of the file being edited
set textwidth=80 " Line wrap (number of cols)
set visualbell " Use visual bell (no beeping)
set wildmenu " Helpful completion menu