-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add basic vimrc and warning that workstations have little vim configu…
…ration (#56)
- Loading branch information
1 parent
92449ab
commit 0d8d72f
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
autocmd VimEnter * echo "WARNING: This workstation is largely configured for neovim, but you are using vim. Consider using `nvim` instead of `vim`." | ||
set title | ||
set encoding=utf-8 | ||
set mouse=a | ||
set number | ||
set ofu=syntaxcomplete#Complete | ||
|
||
" When auto-indenting, use the indenting format of the previous line | ||
set copyindent | ||
" When on, a <Tab> in front of a line inserts blanks according to 'shiftwidth'. | ||
" 'tabstop' is used in other places. A <BS> will delete a 'shiftwidth' worth of | ||
" space at the start of the line. | ||
set smarttab | ||
" Copy indent from current line when starting a new line (typing <CR> in Insert | ||
" mode or when using the "o" or "O" command) | ||
set autoindent | ||
" Automatically inserts one extra level of indentation in some cases, and works | ||
" for C-like files | ||
set smartindent | ||
|
||
set ruler | ||
|