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.2KB

123456789101112131415161718192021222324252627282930313233
  1. " Vim5 and later versions support syntax highlighting. Uncommenting the next
  2. " line enables syntax highlighting by default.
  3. syntax on
  4. " If using a dark background within the editing area and syntax highlighting
  5. " turn on this option as well
  6. "set background=dark
  7. " Uncomment the following to have Vim jump to the last position when
  8. " reopening a file
  9. au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif
  10. " Uncomment the following to have Vim load indentation rules and plugins
  11. " according to the detected filetype.
  12. filetype plugin indent on
  13. " The following are commented out as they cause vim to behave a lot
  14. " differently from regular Vi. They are highly recommended though.
  15. set showcmd " Show (partial) command in status line.
  16. set showmatch " Show matching brackets.
  17. set ignorecase " Do case insensitive matching
  18. set smartcase " Do smart case matching
  19. set incsearch " Incremental search
  20. set autowrite " Automatically save before commands like :next and :make
  21. set hidden " Hide buffers when they are abandoned
  22. set mouse=a " Enable mouse usage (all modes)
  23. """""""""" own modifications """"""""""
  24. set number " line numbers
  25. let g:rainbow_active = 1
  26. " todo fzf plugin