-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2cc8af0
Showing
3 changed files
with
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# ignore backup files | ||
*~ |
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,6 @@ | ||
my .vimrc file | ||
|
||
I decided to build a .vimrc file from scratch instead of copying vimrc settings | ||
of other vim users blindly. | ||
|
||
Move vimrc file to your home directory as .vimrc |
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,17 @@ | ||
set tabstop=4 " Number of spaces that a <Tab> in the file counts for | ||
set ruler " show the cursor position | ||
|
||
set textwidth=80 " max width of text, longer line will be broken | ||
set softtabstop=4 " Number of spaces that a <Tab> counts for while performing | ||
" editing operations, like inserting a <Tab> or using <BS> | ||
set expandtab " Use spaces instead of a <Tab> | ||
set autoindent " autoindentation: copy indent from current line when | ||
" starting a new line | ||
set cindent " indentation for C/C++ file types | ||
|
||
set backup " backup file | ||
|
||
set hlsearch " highlight search | ||
set incsearch " incremental search as you type | ||
|
||
|