.vimrc
6b824c86
 :filetype plugin on
f58dd314
 :set backspace=indent,eol,start
 :set nobomb
6b824c86
 :filetype indent on
 :set grepprg=grep\ -nH\ $*
 :autocmd filetype tex source ~/.vim/auctex.vim
 :set nobackup
 :syn on
e7081786
 :set termencoding=utf-8
 :set encoding=utf-8
6b824c86
 :set spl=en_gb spell
 :nmap q :q!
 :set spellfile=~/.vim.words.add
 :set spell
 :nmap T :TlistOpen<CR>
 :colorscheme blacksea
 :vmap y :!xclip -i -selection "clipboard"<CR>:undo<CR>
 :nmap o :NERDTree<CR>
 :inoremap <C-x>o <C-x>s
 :nmap M K
 :nmap P "*p
 :nmap dl d$s
 :nmap d# dG
347fb6a7
 :nmap " y<up>p$
 :nmap g<C-g> :!texcount "%" 
6b824c86
 :filetype plugin indent on
 :set incsearch
 :set grepprg=grep\ -nH\ $*
347fb6a7
 :set laststatus=2
 :set statusline=%t\ %=%y\ [Line:\ %l,\ Col:\ %c]
6b824c86
 if has("multi_byte")
e7081786
      set encoding=utf-8
      setglobal fileencoding=utf-8
6b824c86
      set bomb
e7081786
      set termencoding=utf-8
      set fileencodings=utf-8
6b824c86
 else
      echoerr "Sorry, this version of (g)vim was not compiled with +multi_byte"
 endif
 
 
347fb6a7
 if has("autocmd")
     au BufReadPost *.rkt,*.rktl set filetype=scheme
 endif