diff --git a/config-bits/02-ui-options.vim b/config-bits/02-ui-options.vim new file mode 100644 index 0000000..6761866 --- /dev/null +++ b/config-bits/02-ui-options.vim @@ -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 diff --git a/config-bits/02-wildignore.vim b/config-bits/02-wildignore.vim new file mode 100644 index 0000000..35ec5f0 --- /dev/null +++ b/config-bits/02-wildignore.vim @@ -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 diff --git a/config-bits/03-filetype-syntax.vim b/config-bits/03-filetype-syntax.vim new file mode 100644 index 0000000..b729e58 --- /dev/null +++ b/config-bits/03-filetype-syntax.vim @@ -0,0 +1,2 @@ +filetype plugin indent on +syntax on diff --git a/config-bits/04-edit-options.vim b/config-bits/04-edit-options.vim new file mode 100644 index 0000000..2dc4253 --- /dev/null +++ b/config-bits/04-edit-options.vim @@ -0,0 +1,2 @@ +set autoindent " Basic automatic indentation +set formatoptions+=j " Merge comments when joining lines