Skip to content

Instantly share code, notes, and snippets.

@Autofire
Created September 21, 2018 00:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Autofire/aeef2705cf7a5922195dd0f031eed88d to your computer and use it in GitHub Desktop.
Save Autofire/aeef2705cf7a5922195dd0f031eed88d to your computer and use it in GitHub Desktop.
vimrc for Git Bash
" I don't know exactly how Git Bash is setup, and even if VIM is packaged along side it or something else.
" However, at the school I go to, the lab computers has Git Bash and I wanted to mimic the VIM on Mac OSX.
" Thus, I came up with this.
set ts=4
set mouse=a
set novisualbell
" From https://superuser.com/questions/634326/how-can-i-get-a-block-cursor-in-vim-in-the-cygwin-terminal
let &t_ti.="\e[1 q"
let &t_SI.="\e[5 q"
let &t_EI.="\e[1 q"
let &t_te.="\e[0 q"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment