Advertisement
Guest User

Untitled

a guest
Oct 16th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.87 KB | None | 0 0
  1. set guifont=IBM\ Plex\ Mono\ 17
  2. colo gruvbox
  3. syntax on
  4. filetype on " Enable filetype detection
  5. filetype indent on " Enable filetype-specific indenting
  6. filetype plugin on " Enable filetype-specific plugins
  7. set nocompatible " not compatible with the old-fashion vi mode
  8. set bs=2 " allow backspacing over everything in insert mode
  9. set history=50 " keep 50 lines of command line history
  10. set ruler " show the cursor position all the time
  11. set cursorline
  12. "set autoread " auto read when file is changed from outside
  13. set nu " show line numbers
  14. set hlsearch " search highlighting
  15. " auto reload vimrc when editing it
  16. " autocmd! bufwritepost .vimrc source ~/.vimrc
  17. set clipboard=unnamed " yank to the system register (*) by default
  18. set showmatch " Cursor shows matching ) and }
  19. set showmode " Show current mode
  20. set wildchar=<TAB> " start wild expansion in the command line using <TAB>
  21. set wildmenu " wild char completion menu
  22. " ignore these files while expanding wild chars
  23. set wildignore=*.o,*.class,*.pyc
  24. set autoindent " auto indentation
  25. set incsearch " incremental search
  26. set dir=~/.vim/tmp " tell vim where to put swap files
  27. set copyindent " copy the previous indentation on autoindenting
  28. set ignorecase " ignore case when searching
  29. set smartcase " ignore case if search pattern is all lowercase,case-sensitive otherwise
  30. set smarttab " insert tabs on the start of a line according to context
  31. " disable sound on errors
  32. " TAB setting{
  33. set expandtab "replace <TAB> with spaces
  34. set softtabstop=4
  35. set shiftwidth=4
  36. set noerrorbells
  37. set novisualbell
  38. set t_vb=
  39. " set tm=500
  40. set guioptions-=m "remove menu bar
  41. set guioptions-=T "remove toolbar
  42. set guioptions-=r "remove right-hand scroll bar
  43. set guioptions-=L "remove left-hand scroll bar
  44. " au GUIEnter * simalt ~x "maxminze windowns
  45.  
  46. "find snippets
  47. nmap <Leader>es :Ve ~/.vim/bundle/vim-snippets/snippets<CR>
  48.  
  49. "clear search highlight
  50. nnoremap <silent> <esc> :noh<cr><esc>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement