.vimrc: Add new mode to make filename autocomplete work more like in bash

This commit is contained in:
Alan Orth 2011-02-21 14:58:31 +03:00
parent c2c3205fa0
commit 17833f1f20

3
.vimrc
View File

@ -4,10 +4,11 @@ set sw=4
set bs=2 set bs=2
set bg=dark set bg=dark
set paste set paste
set wildmode=longest,list " change filename autocomplete to be more like BASH
set mouse=v " some vim defaults to mouse=a, which sucks for copying and pasting in Xorg set mouse=v " some vim defaults to mouse=a, which sucks for copying and pasting in Xorg
syntax on syntax on
if version >= 600 if version >= 600
filetype on " enable file type detection filetype on " enable file type detection
filetype plugin on " enable file type plugins filetype plugin on " enable file type plugins
filetype indent on " enable file type indents filetype indent on " enable file type indents
endif endif