Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: .vimrc #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ Text Substitutions.plist

# Ignoring temporarily, since it's _not ready 鉁╛.
.gitconfig
.vimrc
.ssh/
19 changes: 19 additions & 0 deletions .vimrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
" Enable syntax highlighting
if has("syntax")
syntax on
endif

" Tab and indentation-related settings
" https://stackoverflow.com/a/1878983
set tabstop=2 " Set the width of the `Tab` character to 2 spaces
set expandtab " Make the tab key insert spaces instead of tab characters
set autoindent " New lines inherit the indentation of previous lines

" Line numbering and highlighting
set number
set relativenumber
set ruler
highlight LineNr ctermfg=grey

" User interface
set laststatus=2 " Include a status bar along the bottom of the screen