Last active
January 24, 2024 09:47
-
-
Save giner/e7d7313dc678937f3b5f618843462d96 to your computer and use it in GitHub Desktop.
VIM: make vim useful
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
## VIM: Unbound copy/paste buffer (default is 50 lines or 10 Kbyte) | |
echo "set viminfo='100,h" >> ~/.vimrc | |
## VIM: Increase max tabs limit (useful with `vim -p`, default is 10) | |
echo "set tabpagemax=100" >> ~/.vimrc | |
## VIM: Remember more commands and search patterns in history (default is 50) | |
echo "set history=1000" >> ~/.vimrc | |
## VIM: Highlight trailing witespaces | |
echo 'augroup highlight-whitespaces | autocmd! | autocmd BufEnter * match Error /\s\+$/ | augroup END' >> ~/.vimrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment