diff options
author | Ryan Kavanagh <rak@rak.ac> | 2021-12-14 11:42:41 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2021-12-14 11:42:41 -0500 |
commit | fd2001cd614dfa0d55ec820b7c358a1795d3ea27 (patch) | |
tree | 932b5f91ad3c70f9cfa4455a0ccfb27a7b259bf1 /dot_vimrc | |
parent | added symlink to cclub afs (diff) |
Simplify vim configuration
Diffstat (limited to 'dot_vimrc')
-rw-r--r-- | dot_vimrc | 69 |
1 files changed, 14 insertions, 55 deletions
@@ -1,69 +1,28 @@ -" p -" Line numbering -"set number -" Set syntax highlighting +" Appearance syntax on colorscheme brookstream +set bg=dark +set modeline +set modelines=1 + " Tabbing -set et +set expandtab set shiftwidth=4 set smarttab set autoindent + " We want a mouse in consoles, so:" set mouse=a -filetype plugin on -filetype indent on -set textwidth=80 -set bg=dark -set modeline -set modelines=1 -set pastetoggle=<F10> -command -nargs=1 Hugged :/<args>/s/\(.*\) ;\(.*\)\(||\)/\1 lightgreen;\2 RyanKavanagh ||/c -""" Don't connect to X clipboard, slow -""" set clipboard=exclude:.* -" For :sp, switching and minimum height -" map <C-H> <C-W>j<C-W>_ -" map <C-L> <C-W>k<C-W>_ -" set wmh=0 -" REQUIRED. This makes vim invoke Latex-Suite when you open a tex file. -filetype plugin on -" IMPORTANT: grep will sometimes skip displaying the file name if you -" search in a singe file. This will confuse Latex-Suite. Set your grep -" program to alway generate a file-name. -set grepprg=grep\ -nH\ $* - -" Haskell crud -au BufEnter *.hs compiler ghc -let g:haddock_browser = "/usr/bin/w3m" -let g:ghc_version = 6.8.2 -let g:ghc = "/usr/bin/ghc" - -" Support my daylog -au BufNewFile,BufRead daylog,daylog.dch setf debchangelog -au BufNewFile,BufRead *.tikz setf tex -map! i_<help> <Esc> -map! <Help> <Esc> -map! i_<F1> <Esc> -map! <F1> <Esc> - -" minibufexpl.vim -"map \mbe :MiniBufExplorer<cr> -"map \mbc :CMiniBufExplorer<cr> -"map \mbu :UMiniBufExplorer<cr> -"map \mbt :TMiniBufExplorer<cr> +" Use system plugins +filetype plugin on -"let g:miniBufExplMapWindowNavVim = 1 -let g:miniBufExplMapWindowNavArrows = 1 -let g:miniBufExplMapCTabSwitchBufs = 1 +" Use system per-filetype indentation +filetype indent on -let g:Tex_CompileRule_dvi = 'latex-mk $*' -let g:Tex_CompileRule_pdf = 'latex-mk --pdflatex $*' -let g:Tex_DefaultTargetFormat = 'pdf' -let g:Tex_ItemStyle_inparaenum = '\item' +set textwidth=80 -let g:po_translator = 'Ryan Kavanagh <rak@debian.org>' +set pastetoggle=<F10> -au BufEnter ~/.mutt/tmp/mutt-* set textwidth=72 | set list lcs=trail:-,nbsp:% -au BufEnter ~/.mutt/tmp/neomutt-* set textwidth=72 | set list lcs=trail:-,nbsp:% +au BufEnter ~/.mutt/tmp/* set textwidth=72 | set list lcs=trail:-,nbsp:% au BufEnter */gophermap set list lcs=trail:-,nbsp:%,tab:»·,space:· |