aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorclaw0ry <me@claw0ry.net>2024-12-18 14:22:27 +0100
committerclaw0ry <me@claw0ry.net>2024-12-18 14:22:27 +0100
commit50da0a619c2d42ccc8fff1c4a549fd17a0c4f65e (patch)
tree133e5cd1031bb2655acad1ce69c8fac0c0ddf007 /.vimrc
parentnvim/vim: let's try without nvim for a while (diff)
vim: improve vim configuration
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc13
1 files changed, 8 insertions, 5 deletions
diff --git a/.vimrc b/.vimrc
index d6c7e10..7f2b81a 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1,5 +1,5 @@
-set encoding=utf-8
-scriptencoding utf-8
+set encoding=utf8
+scriptencoding utf8
lang en_US.UTF-8
" use space as <leader> key
@@ -55,7 +55,7 @@ set scrolloff=8
set signcolumn=yes
" show the colorcolumn
-set colorcolumn=120
+set colorcolumn=80
" :sp and :vsp should split below and to the right
set splitbelow
@@ -67,8 +67,11 @@ set updatetime=50
" enable mouse support
set mouse=a
-" ???
-set completeopt="menu,menuone,noselect"
+" shows a more advanced command-line completion menu
+set wildmenu
+
+" Modifies the auto-complete menu. See :h completeopt
+set completeopt="noinsert,menuone,noselect"
" show whitespace characters
set list lcs=tab:>\ ,trail:~,precedes:<,space:\ ,nbsp:×