sudo add-apt-repository ppa:jonathonf/vim
sudo apt update
sudo apt install vim
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
| filetype plugin indent on | |
| set number " Show line numbers | |
| set tabstop=4 " show existing tab with 4 spaces width | |
| set expandtab " On pressing tab, insert 4 spaces | |
| set ignorecase " Case insentivie searches | |
| set autoindent " Always set autoindentation | |
| set copyindent " Use the previous indentation when autoindenting | |
| set shiftwidth=4 " when indenting with '>', use 4 spaces width | |
| set shiftround " Use multiple shift width when using '>' |