Add - as a word character
dblume

dblume commited on 2023-12-15 10:24:46
Showing 1 changed files, with 2 additions and 1 deletions.

... ...
@@ -1,4 +1,4 @@
1
-" Version 2023-11-22.1 - Stop using vim-airline
1
+" Version 2023-12-15.1 - Stop using vim-airline
2 2
 set nocompatible    " Use Vim defaults, forget compatibility with vi.
3 3
 set bs=2            " allow backspacing over everything in insert mode
4 4
 set wildmenu        " Allows command-line completion with tab
... ...
@@ -10,6 +10,7 @@ set foldlevel=99
10 10
 set nowrap          " no wrapping text lines on the screen (exceptions below)
11 11
 set sidescroll=5
12 12
 set listchars+=tab:>-,precedes:<,extends:>,nbsp:ยท " for :set list
13
+set iskeyword+=-    " Add - to list of non-word-breaking chars.
13 14
 
14 15
 if v:version >= 703
15 16
   " Do save the undo tree to file, but not in the local directory.
16 17