Last active
November 11, 2021 12:05
-
-
Save penguinjournals/6521c1fc72102c4c83768d756800e4de to your computer and use it in GitHub Desktop.
.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
set background=dark | |
" shell selection | |
set shell=zsh | |
syntax on | |
set visualbell | |
set encoding=utf-8 | |
" show when you are in insert or visual mode | |
set showmode | |
" highlight the line containing the cursor | |
set cursorline | |
" show unwanted whitespaces | |
set listchars=tab:-✈,trail:¶,extends:>,nbsp:◊ | |
set list! | |
" show filename in title window | |
set title | |
" show line numbers | |
set number | |
" do not wrap lines | |
" set nowrap | |
" indentation | |
set tabstop=2 | |
set softtabstop=2 | |
set shiftwidth=2 | |
set smarttab | |
set expandtab | |
set autoindent | |
" search | |
set incsearch | |
set hlsearch | |
" python indentation | |
au BufNewFile,BufRead *.py | |
\ set tabstop=4 | | |
\ set softtabstop=4 | | |
\ set shiftwidth=4 | | |
\ set textwidth=79 | | |
\ set expandtab | | |
\ set autoindent | | |
\ set fileformat=unix |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment