Last active
February 28, 2018 05:32
-
-
Save benjaesq/78595742b1eacf2b49f8 to your computer and use it in GitHub Desktop.
saving vimrc for future reference
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
| " [email protected] | |
| " .vimrc file. Based on: | |
| " http://vim.wikia.com/wiki/Example_vimrc | |
| " some coding perks here below | |
| " ---------------------------- | |
| set autoindent | |
| syntax on | |
| filetype plugin on | |
| filetype indent plugin on | |
| " 4 spaces for tab presses expanded to spaces :) | |
| set shiftwidth=4 softtabstop=4 | |
| set expandtab | |
| set incsearch hlsearch | |
| " Press space to clear search highlighting and any message displayed | |
| nnoremap <silent> <Space> :silent noh<Bar>echo<CR> | |
| set wildmenu showcmd | |
| " File type associations | |
| " ---------------------- | |
| autocmd BufNewFile,BufReadPost *.md set filetype=markdown | |
| " The trunk | |
| " --------- | |
| " | |
| " I dislike the fact that the line numbers take so much space | |
| " set number | |
| " for highlighting EOL whitespaces I installed this vim utility: | |
| " http://vim.sourceforge.net/scripts/script.php?script_id=3966 | |
| " set backspace=indent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment