Last active
October 4, 2024 10:48
-
-
Save satrialoka/66258d154ac63f729c4f4b68c3fb7a7c to your computer and use it in GitHub Desktop.
.vimrc
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
| " A very minimal vimrc config for use in remote servers | |
| " Loka 2024 | |
| " Enable line numbers | |
| set number | |
| set relativenumber | |
| " Enable syntax highlighting | |
| syntax on | |
| " Set 4 spaces for a tab | |
| set tabstop=4 | |
| set shiftwidth=4 | |
| set expandtab | |
| " Show line and column number in the status line | |
| set ruler | |
| " Highlight matching parentheses | |
| set showmatch | |
| " Enable mouse support | |
| set mouse=r | |
| " Set swap and backup directory | |
| "set backupdir=~/.vim/backup// | |
| "set directory=~/.vim/swap// | |
| " Disable backup and swap files (WARNING) | |
| set nobackup | |
| set noswapfile | |
| set nowritebackup |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
on server do: