Last active
February 1, 2018 15:31
-
-
Save doliG/777cdfe6482b5967598bff651e0cc5d7 to your computer and use it in GitHub Desktop.
My vimrc - vim and iTerm2
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
| set nu | |
| syn on | |
| colors desert | |
| set cc=80 | |
| highlight ColorColumn ctermbg=235 | |
| " Enable copy pasting in multiples vim instances | |
| " | |
| " in short, whenever you select/yank something put it in the clipboard as well | |
| " (not Vim's, but the global keyboard of the window system). That way you | |
| " don't have to think about yanking things into a special register. | |
| " https://stackoverflow.com/questions/9166328/how-to-copy-selected-lines-to-clipboard-in-vim | |
| set guioptions+=a | |
| " Use the same symbols as TextMate for tabstops and EOLs | |
| " Could be used as tab : → | |
| set listchars=tab:→\ ,eol:¬ | |
| hi NonText ctermfg=238 | |
| hi SpecialKey ctermfg=238 | |
| set list | |
| " See colors reference | |
| " https://upload.wikimedia.org/wikipedia/commons/1/15/Xterm_256color_chart.svg | |
| set cursorline | |
| hi CursorLine cterm=none ctermbg=234 | |
| hi LineNr ctermfg=245 | |
| hi CursorLineNr ctermfg=250 ctermbg=234 | |
| " Better menu and autocompletion | |
| set wildmenu | |
| set tabstop=4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment