dotfiles

Customization files for my workstations. Nothing special or worth looking at.
Log | Files | Refs

.vimrc (584B)


      1 syntax enable
      2 set number
      3 set tabstop=4
      4 filetype indent on
      5 set shiftwidth=4
      6 set autoindent
      7 set smartindent
      8 set showmatch
      9 set incsearch
     10 set hlsearch
     11 set backspace=indent,eol,start
     12 
     13 "Allows j and k to move through wrapped lines
     14 nnoremap j gj
     15 nnoremap k gk
     16 
     17 " use qqq to escape modes
     18 inoremap qqq <esc>
     19 
     20 " allows cursor change in tmux
     21 if exists('$TMUX')
     22 "	let $&_SI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=1\x7\<Esc>\\"
     23 	let &t_EI = "\<Esc>Ptmux;\<Esc>\<Esc>]50;CursorShape=0\x7\<Esc>\\"
     24 else
     25 	let &t_SI = "\<Esc>]50;CursorShape=1\x7" 
     26 	let &t_EI = "\<Esc>]50;CursorShape=0\x7" 
     27 endif