mydot/vim/.vimrc

56 lines
1.4 KiB
VimL
Raw Permalink Normal View History

2023-07-11 10:41:59 +03:00
" Common.
set encoding=utf-8
set fileencoding=utf-8
set nobackup
set noswapfile
" Tabs.
2024-03-29 10:24:25 +03:00
" set expandtab
2023-07-11 10:41:59 +03:00
set tabstop=2
set shiftwidth=2
" Lines.
set number
set relativenumber
set cursorline
2024-03-29 10:24:25 +03:00
set colorcolumn=80
2024-11-12 16:32:58 +03:00
set nowrap
2023-07-11 10:41:59 +03:00
2024-11-12 16:32:58 +03:00
" set list
set list listchars=trail,tab-
2023-07-11 10:41:59 +03:00
" Colors.
syntax on
2024-03-29 10:24:25 +03:00
colorscheme slate
2024-11-12 16:32:58 +03:00
" VUNDLE ======================================================================/
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required
Plugin 'VundleVim/Vundle.vim'
" C/C++
Plugin 'xavierd/clang_complete'
" All of your Plugins must be added before the following line
call vundle#end() " required
filetype plugin indent on " required
" To ignore plugin indent changes, instead use:
"filetype plugin on
"
" Brief help
" :PluginList - lists configured plugins
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate
" :PluginSearch foo - searches for foo; append `!` to refresh local cache
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal
"
" see :h vundle for more details or wiki for FAQ
" Put your non-Plugin stuff after this line