set nocompatible set autoindent filetype plugin indent on set tabstop=4 set shiftwidth=4 set expandtab set so=999 set number relativenumber syntax on set guifont=Fira\ Code:h18 "cursor shape: let &t_SI = "\]50;CursorShape=1\x7" let &t_SR = "\]50;CursorShape=2\x7" let &t_EI = "\]50;CursorShape=0\x7" set softtabstop=4 " number of spaces in tab when editing set tabstop=4 " number of visual spaces per TAB set expandtab " tabs are spaces set lazyredraw " redraw only when we need to. set incsearch " search as characters are entered set hlsearch " highlight matches set colorcolumn=80 " draw a line on the 80th column augroup myCmds au! autocmd VimEnter * silent !echo -ne "\e[2 q" autocmd InsertEnter,InsertLeave * set cul! augroup END "aliases: map :w map :NERDTreeToggle map :color dracula map :CtrlP nnoremap i "plugins: call plug#begin() Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries' } Plug 'vim-airline/vim-airline' Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } Plug 'dracula/vim', { 'as': 'dracula' } Plug 'tpope/vim-rails' Plug 'ctrlpvim/ctrlp.vim' Plug 'posva/vim-vue' Plug 'prettier/vim-prettier', { \ 'do': 'yarn install', \ 'for': ['javascript', 'typescript', 'css', 'less', 'scss', 'json', 'graphql', 'markdown', 'vue'] } call plug#end()