Various basic options added
* UI behaviour * Default wildignore * Edition options
This commit is contained in:
parent
4fe08b0316
commit
a58647d888
4 changed files with 22 additions and 0 deletions
9
config-bits/02-ui-options.vim
Normal file
9
config-bits/02-ui-options.vim
Normal 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
|
9
config-bits/02-wildignore.vim
Normal file
9
config-bits/02-wildignore.vim
Normal 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
|
2
config-bits/03-filetype-syntax.vim
Normal file
2
config-bits/03-filetype-syntax.vim
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
filetype plugin indent on
|
||||||
|
syntax on
|
2
config-bits/04-edit-options.vim
Normal file
2
config-bits/04-edit-options.vim
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
set autoindent " Basic automatic indentation
|
||||||
|
set formatoptions+=j " Merge comments when joining lines
|
Loading…
Reference in a new issue