Dotfiles for my tiling window manager + terminal workflow.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.2 KiB

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. set relativenumber
  2. set background=dark
  3. " set t_Co=256
  4. filetype plugin on
  5. syntax on
  6. set tabstop=4
  7. set tw=80
  8. set colorcolumn=80
  9. set shiftwidth=4
  10. set autoindent
  11. set mouse=c
  12. set clipboard=unnamedplus
  13. autocmd VimResized * wincmd =
  14. " 'h/u3/c7/05/mokkar/.vim/plugged'
  15. " '~/.vim/plugged'
  16. " plug
  17. if empty(glob('~/.vim/autoload/plug.vim'))
  18. silent !curl -fLo ~/.vim/autoload/plug.vim --create-dirs
  19. \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
  20. autocmd VimEnter * PlugInstall --sync | source $MYVIMRC
  21. endif
  22. call plug#begin('~/.vim/plugged')
  23. Plug 'vim-scripts/L9'
  24. Plug 'vim-scripts/FuzzyFinder'
  25. Plug 'whatyouhide/vim-gotham'
  26. Plug 'nathanaelkane/vim-indent-guides'
  27. Plug 'flazz/vim-colorschemes'
  28. Plug 'felixhummel/setcolors.vim'
  29. Plug '907th/vim-auto-save'
  30. Plug 'xuhdev/vim-latex-live-preview', { 'for': 'tex' }
  31. " Plug 'artur-shaik/vim-javacomplete2'
  32. " autocmd FileType java setlocal omnifunc=javacomplete#Complete
  33. call plug#end()
  34. colorscheme gotham256
  35. map <F3> :wa<CR>
  36. map <F4> :wqa<CR>
  37. map <F5> :qa!<CR>
  38. map <F6> :LLPStartPreview<CR>
  39. map <F7> :AutoSaveToggle<CR>
  40. map <F10> :PlugInstall<CR>
  41. map <C-F1> :.,$s/:\(\w\)/: \1/g<CR>
  42. " map <Enter> o<ESC>
  43. " map <S-Enter> O<ESC>