dot_vimrc 1.0 KB

123456789101112131415
  1. filetype plugin indent on " filetype detection and settings
  2. set pastetoggle=<F3>
  3. syntax on " syntax highlighting
  4. silent! runtime macros/matchit.vim " matchit comes with Vim
  5. set nocompatible " not strictly necessary but useful in some scenarii
  6. set backspace=indent,eol,start " let the backspace key work "normally"
  7. set hidden " hide unsaved buffers
  8. set incsearch " incremental search rules
  9. set laststatus=2 " not strictly necessary but good for consistency
  10. set ruler " shows line number in the status line
  11. set switchbuf=useopen,usetab " better behavior for the quickfix window and :sb
  12. set tags=./tags;/,tags;/ " search tags files efficiently
  13. set wildmenu " better command line completion, shows a list of matches
  14. set mouse-=a " disable automatic VisualMode on mouse usage
  15. nnoremap gb :buffers<CR>:sb<Space> " quick buffer navigation