Various basic options added

* UI behaviour
* Default wildignore
* Edition options
This commit is contained in:
Emmanuel BENOîT 2015-02-22 19:01:45 +01:00
parent 4fe08b0316
commit a58647d888
4 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,9 @@
set lazyredraw " Postpone redrawing in some cases
set showcmd " Show currently typed keys at the bottom
set showmatch " Show matching parentheses
set incsearch " Incremental search
set title " Update terminal title
set wildmenu " Enhanced command completion, with menu!
let mapleader = ' ' " Space as leader character
let maplocalleader = ',' " Comma as local leader character

View file

@ -0,0 +1,9 @@
set wildignore="" " Clear it
set wildignore+=.git,.svn " Version control
set wildignore+=*.o,*.lo,*.obj " Object files
set wildignore+=*.so,*.so.*,*.a,*.la " Compiled libraries
set wildignore+=*.dll,*.exe " Windows libraries and executables
set wildignore+=.*.d,.deps " Dependency files
set wildignore+=.*.sw?,*~,*.bak " Various temporary files
set wildignore+=*.class " Compiled Java classes
set wildignore+=*.pyc " Python byte code

View file

@ -0,0 +1,2 @@
filetype plugin indent on
syntax on

View file

@ -0,0 +1,2 @@
set autoindent " Basic automatic indentation
set formatoptions+=j " Merge comments when joining lines