diff options
author | Max Christian Pohle | 2015-09-14 00:38:30 +0200 |
---|---|---|
committer | Max Christian Pohle | 2015-09-14 00:38:30 +0200 |
commit | 6f784b3a737827df10305e65d54cd1c92ce9c910 (patch) | |
tree | fd5df25d2c5396d4d47dfe2cc78a05fb77b3e4fe | |
parent | 81571661d0c39e7261d1a55ff641e56970defff0 (diff) | |
download | vim-6f784b3a737827df10305e65d54cd1c92ce9c910.tar.bz2 vim-6f784b3a737827df10305e65d54cd1c92ce9c910.zip |
added wildmenu support and some syntax tweaks
-rw-r--r-- | vimrc | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -52,18 +52,19 @@ set selectmode=key,mouse | " make [strg+]shift-{left|right} enter SELECT mo | |||
52 | set whichwrap=b,s,<,>,[,] | " beyond beginning/end line causes cusor to wrap | 52 | set whichwrap=b,s,<,>,[,] | " beyond beginning/end line causes cusor to wrap |
53 | set backspace=indent,eol,start| " allow backspacing over everything in insert mode, not needed with whichwrap | 53 | set backspace=indent,eol,start| " allow backspacing over everything in insert mode, not needed with whichwrap |
54 | set diffopt+=iwhite,filler | " lets diff ignore white spaces | 54 | set diffopt+=iwhite,filler | " lets diff ignore white spaces |
55 | set spell| set spelllang=en,de| " enable spell checker | 55 | set spell spelllang=en,de | " enable spell checker |
56 | set virtualedit=onemore " one character beyond the line length should be navigatable (options: all,insert,block,onemore) | 56 | set virtualedit=onemore " one character beyond the line length should be navigatable (options: all,insert,block,onemore) |
57 | set breakindent cpoptions+=n | " when wrapping lines indent wrapped line to align with the previews | 57 | set breakindent cpoptions+=n | " when wrapping lines indent wrapped line to align with the previews |
58 | set linebreak | " do not wrap in the middle of words | 58 | set linebreak | " do not wrap in the middle of words |
59 | set showcmd | " displays status line messages while selecting (matrix size) | 59 | set showcmd | " displays status line messages while selecting (matrix size) |
60 | set nofoldenable | " do not fold code automatically | 60 | set nofoldenable | " do not fold code automatically |
61 | set tags+=~/.vim/systags | " ctags -R -f ~/.vim/systags /usr/include /usr/local/include | 61 | set tags+=~/.vim/systags | " ctags -R -f ~/.vim/systags /usr/include /usr/local/include |
62 | set wildmenu wildmode=full | " wildmenu code completion | ||
62 | 63 | ||
63 | " search... | 64 | " search... |
64 | set ignorecase|set smartcase | " if search pattern contains uppercase then search is case sensitive | 65 | set ignorecase smartcase | " if search pattern contains uppercase then search is case sensitive |
65 | set incsearch | " do incremental searching | 66 | set incsearch | " do incremental searching |
66 | set showmatch|set matchtime=4 | " blinks matching braces | 67 | set showmatch matchtime=4 | " blinks matching braces |
67 | 68 | ||
68 | set novisualbell | " don't beep | 69 | set novisualbell | " don't beep |
69 | set noerrorbells | " don't beep | 70 | set noerrorbells | " don't beep |