Last active
February 15, 2024 16:54
-
-
Save brentk/27311c7ccdd8043a5a2df86782d01472 to your computer and use it in GitHub Desktop.
vim configuration
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
| " Enable syntax highlighting | |
| syntax on | |
| " Set tabs to 4 spaces | |
| set expandtab ts=4 sw=4 ai | |
| " Highlight searched text | |
| set hlsearch | |
| " Solid block cursor (needed for git bash): | |
| let &t_ti.="\e[1 q" | |
| let &t_SI.="\e[5 q" | |
| let &t_EI.="\e[1 q" | |
| let &t_te.="\e[0 q" | |
| " Disable bell and visualbell: | |
| set visualbell | |
| set t_vb= | |
| " hit "//" to search for currently highlighted text | |
| vnoremap // y/\V<C-R>=escape(@",'/\')<CR><CR> | |
| " Setup color scheme | |
| " colorscheme darkblue | |
| " colorscheme slate | |
| colorscheme elflord | |
| highlight Normal guibg=black guifg=white | |
| set background=dark |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment