Created
January 7, 2024 09:56
-
-
Save louishuyng/958bd64c23cd463a74207015aa4ea4ca to your computer and use it in GitHub Desktop.
Basic Vim Setup on Linux
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 tabstop=2 softtabstop=2 shiftwidth=2 | |
set expandtab | |
set number ruler | |
set autoindent smartindent | |
syntax enable | |
filetype plugin indent on | |
nnoremap <space>w :w<CR> | |
nnorempa <space>q :wq!<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment