Inital commin
This commit is contained in:
commit
ec1c8b1dcd
3 changed files with 50 additions and 0 deletions
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[submodule "pack/plugins/start/vim-airline"]
|
||||
path = pack/plugins/start/vim-airline
|
||||
url = https://github.com/vim-airline/vim-airline.git
|
46
init.vim
Normal file
46
init.vim
Normal file
|
@ -0,0 +1,46 @@
|
|||
" An example for a vimrc file.
|
||||
"
|
||||
" Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
" Last change: 2017 Sep 20
|
||||
"
|
||||
" To use it, copy it to
|
||||
" for Unix and OS/2: ~/.vimrc
|
||||
" for Amiga: s:.vimrc
|
||||
" for MS-DOS and Win32: $VIM\_vimrc
|
||||
" for OpenVMS: sys$login:.vimrc
|
||||
|
||||
" set relative line numbers
|
||||
set number relativenumber
|
||||
" set highlighting and continous search
|
||||
set hlsearch incsearch
|
||||
" clear search with F2
|
||||
nnoremap <F2> noh
|
||||
" show n-column limiter when textwidth is set
|
||||
set colorcolumn=+1
|
||||
|
||||
if has("vms")
|
||||
set nobackup " do not keep a backup file, use versions instead
|
||||
else
|
||||
set backup " keep a backup file (restore to previous version)
|
||||
if has('persistent_undo')
|
||||
set undofile " keep an undo file (undo changes after closing)
|
||||
endif
|
||||
endif
|
||||
|
||||
" Only do this part when compiled with support for autocommands.
|
||||
if has("autocmd")
|
||||
|
||||
" Put these in an autocmd group, so that we can delete them easily.
|
||||
augroup vimrcEx
|
||||
au!
|
||||
|
||||
" For all text files set 'textwidth' to 78 characters.
|
||||
autocmd FileType text setlocal textwidth=78
|
||||
|
||||
augroup END
|
||||
|
||||
else
|
||||
|
||||
set autoindent " always set autoindenting on
|
||||
|
||||
endif " has("autocmd")
|
1
pack/plugins/start/vim-airline
Submodule
1
pack/plugins/start/vim-airline
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit e3cfd3643b0f4c9650d5eb23912fef12d88e7a60
|
Reference in a new issue