Created
September 12, 2022 13:04
-
-
Save valetarton/35aefb7be6e9e90720179c3a0c305258 to your computer and use it in GitHub Desktop.
Vim Config
This file contains hidden or 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=light | |
filetype plugin indent on | |
" show existing tab with 4 spaces width | |
set tabstop=4 | |
" when indenting with '>', use 4 spaces width | |
set shiftwidth=4 | |
" On pressing tab, insert 4 spaces | |
set expandtab | |
"Rust Stuff | |
nnoremap ;c <Esc>:!rustc %<Cr> | |
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o | |
"" Don't try to be vi compatible | |
"set nocompatible | |
" | |
"" Helps force plugins to load correctly when it is turned back on below | |
"filetype off | |
" | |
"" TODO: Load plugins here (pathogen or vundle) | |
" | |
"" Turn on syntax highlighting | |
"syntax on | |
" | |
"" For plugins to load correctly | |
"filetype plugin indent on | |
"set wrap | |
"set textwidth=79 | |
"set formatoptions=tcqrn1 | |
"set tabstop=2 | |
"set shiftwidth=2 | |
"set softtabstop=2 | |
"set expandtab | |
"set noshiftround | |
"set autoindent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment