Last active
December 6, 2016 14:56
-
-
Save benjaminirving/ff4710e2c6da7d8597e48bd36710e135 to your computer and use it in GitHub Desktop.
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
" My vimrc | |
" A work in progress | |
syntax enable " enable syntax | |
set background=dark " dark background | |
set mouse=a " enable mouse interaction | |
" Set tab to be four spaces | |
set tabstop=4 | |
set softtabstop=4 | |
set expandtab | |
set number " switch on line numbers | |
set showcmd | |
filetype indent on | |
set wildmenu | |
set lazyredraw | |
set showmatch | |
set incsearch " search on the fly | |
set hlsearch " highlight matches | |
nnoremap <leader><space> :nohlsearch<CR> | |
if exists('$TMUX') | |
let &t_SI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=1\x7\<Esc>\\" | |
let &t_EI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=0\x7\<Esc>\\" | |
else | |
let &t_SI = "\<Esc>]50;CursorShape=1\x7" | |
let &t_EI = "\<Esc>]50;CursorShape=0\x7" | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment