Sunday, July 08, 2007

Linux workstation setup (LaTeX+Vim+Xpdf+SVN+LaTeXSuite)

Here is what I do with a fresh Ubuntu/Debian installation to get my optimal LaTeX configuration setup.

Installation. Install LaTeX, Vim, LaTeXSuite, Subversion and XPDF.
aptitude install texlive-full
aptitude install vim-latexsuite
aptitude install subversion
aptitude install vim-gtk
aptitude install xpdf
  • Xmodmap. Swap the CapsLock and Control keys. Add the following to the file ~/.xmodmaprc.
     ! Swap Caps_Lock and Control_L
    remove Lock = Caps_Lock
    remove Control = Control_L
    keysym Control_L = Caps_Lock
    keysym Caps_Lock = Control_L
    add Lock = Caps_Lock
    add Control = Control_L
    Run xmodmap to implement the changes.
    xmodmap ~/.xmodmaprc
  • Xpdf. Configure XPDF to use vi keybindings for navigation. Add the following to the file ~/.Xresouces.
    xpdf.viKeys: true
    Enable the changes with xrdb:
    xrdb ~/.Xresouces.
  • Vim. Download my .vimrc and .gvimrc files.