filetype plugin on filetype indent on command! W execute 'w !sudo tee % > /dev/null' edit! nnoremap mm make nnoremap md :Termdebug set foldmethod=syntax set foldlevelstart=0 set showcmd set ignorecase set smartcase set hlsearch set incsearch set relativenumber set number syntax enable set tabstop=4 set shiftwidth=4 set autoindent set smartindent set tags=./tags,tags;$HOME packadd! termdebug highlight ColorColumn ctermbg=magenta call matchadd('ColorColumn', '\%81v', 100) let g:ycm_always_populate_location_list = 1 let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim' if empty(glob(data_dir . '/autoload/plug.vim')) silent execute '!curl -fLo '.data_dir.'/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' autocmd VimEnter * PlugInstall --sync | source $MYVIMRC endif call plug#begin() Plug 'stevearc/vim-arduino' Plug 'ycm-core/YouCompleteMe' Plug 'ludovicchabant/vim-gutentags' Plug 'craigemery/vim-autotag' call plug#end()