" vimrc " " Map leader key to space key let mapleader = " " " Enable syntax highlighting syntax on " Set color scheme colorscheme slate " Set font set guifont=Monaco\ 12 " Set tab settings set tabstop=4 set shiftwidth=4 set expandtab " Enable cursor line set cursorline " Enable auto-indentation set autoindent " Enable auto-completion set completeopt=menu,menuone,noselect " Map NERDTree to leader key + n nnoremap e :NERDTreeFocus nnoremap :NERDTree nnoremap :NERDTreeToggle nnoremap :NERDTreeFind " LSP settings let g:lsp_server_commands = ['clangd'] let g:lsp_auto_enable = 1 " Enable true color support set termguicolors set laststatus=2 set noshowmode if !has('gui_running') set t_Co=256 endif let g:airline#extensions#ale#enabled = 1 " PLUGINS ============================= if filereadable(expand("~/.vimrc.plug")) source ~/.vimrc.plug endif