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.

.vimrc 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. python3 from powerline.vim import setup as powerline_setup
  2. python3 powerline_setup()
  3. python3 del powerline_setup
  4. set laststatus=2 " Always display the statusline in all windows
  5. set showtabline=2 " Always display the tabline, even if there is only one tab
  6. set noshowmode " Hide the default mode text (e.g. -- INSERT -- below the statusline)
  7. set t_Co=256
  8. set nocompatible
  9. filetype off
  10. syntax on
  11. colorscheme darkblue
  12. hi Normal guibg=NONE ctermbg=NONE
  13. set lbr
  14. set nu
  15. set guioptions-=r
  16. let g:Tex_DefaultTargetFormat = 'pdf'
  17. filetype plugin on
  18. set ssop-=options
  19. set ssop-=folds
  20. nmap <C-j> <C-W>j
  21. nmap <C-k> <C-W>k
  22. nmap <C-h> <C-W>h
  23. nmap <C-l> <C-W>l
  24. nmap <C-o> :bp<CR>
  25. nmap <C-p> :bn<CR>
  26. let g:vimwiki_list = [{'path': '~/vimwiki/', 'ext': 'wiki'},
  27. \ {'path': '~/novelwiki/', 'ext': 'wiki'},
  28. \ {'path': '~/tbcwiki/', 'ext': 'wiki'}]
  29. set rtp+=~/.vim/bundle/Vundle.vim
  30. call vundle#begin()
  31. Plugin 'VundleVim/Vundle.vim'
  32. Plugin 'tpope/vim-fugitive'
  33. Plugin 'vimwiki/vimwiki'
  34. Plugin 'ervandew/supertab'
  35. call vundle#end()
  36. filetype plugin indent on